perlb has asked for the wisdom of the Perl Monks concerning the following question:
Current Output:sub matchAttribute { $pos = index($_, " "); $var11 = substr($_, $pos); $var11 =~ s/^\s+//; return $var11; } while loop if (/^Temp:/){ chomp; $var_temp = matchAttribute ($_); print "var_temp= $var_temp"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: reading var from the file
by cdarke (Prior) on May 17, 2008 at 15:32 UTC | |
|
Re: reading var from the file
by mwah (Hermit) on May 17, 2008 at 16:00 UTC | |
|
Re: reading var from the file
by pc88mxer (Vicar) on May 17, 2008 at 15:21 UTC | |
by perlb (Initiate) on May 17, 2008 at 15:33 UTC |