jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [branches/] [HotSaNIC-0.5.0-jablonecka/] [modules/] [sensors/] [platform/] [common.pm] - Blame information for rev 11

 

Line No. Rev Author Line
11simandlpackage HotSaNICmod::common;
2 
3sub version {
4 ($VERSION = '$Revision: 1.2 $') =~ s/.*(\d+\.\d+).*/$1/;
5 return "common.pm $VERSION";
6 }
7 
8sub configure {
9 my $num = 0;
10 foreach (@_) {
11 ($var,$value)=HotSaNICparser::parse_line($_);
12 if ($var eq "SENSOR") {
13 $num++;
14 $MODARGS{"SENSOR$num"}=$value;
15 }
16 }
17 return %MODARGS
18 }
19 
201;
21 

Powered by WebSVN 2.2.1