ear has asked for the wisdom of the Perl Monks concerning the following question:
$day_counter = 0; foreach $dat_file ( @dat_file ) { open RAW, "<$dat_file"; while ( <RAW> ) { next (($day_counter == 0)&&(substr($_,9,2)<17)); next (($day_counter == 1)&&(substr($_,9,2)>16)); ($sum,$error) = 0; @numbers = split( '\t', $_ );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: while nested in foreach
by Abigail-II (Bishop) on Dec 01, 2003 at 14:25 UTC | |
by ear (Acolyte) on Dec 01, 2003 at 14:28 UTC | |
Re: while nested in foreach
by AcidHawk (Vicar) on Dec 01, 2003 at 14:29 UTC | |
Re: while nested in foreach ($_ pitfalls)
by Russ (Deacon) on Dec 01, 2003 at 17:54 UTC |