licking9Volts has asked for the wisdom of the Perl Monks concerning the following question:
while ($file = <*.las>) { open(FILE, "$file") || die "Couldn't open $file for reading.\n"; while (<FILE>) { $foo = $bar; } close(FILE); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Jumping out of a partially read file
by perlplexer (Hermit) on May 09, 2002 at 20:00 UTC | |
|
Re: Jumping out of a partially read file
by thelenm (Vicar) on May 09, 2002 at 20:05 UTC | |
|
Re: Jumping out of a partially read file
by BUU (Prior) on May 09, 2002 at 19:43 UTC | |
by licking9Volts (Pilgrim) on May 09, 2002 at 20:53 UTC | |
|
Re: Jumping out of a partially read file
by particle (Vicar) on May 09, 2002 at 20:06 UTC | |
|
Re: Jumping out of a partially read file
by thunders (Priest) on May 09, 2002 at 20:25 UTC | |
|
Re: Jumping out of a partially read file
by mephit (Scribe) on May 09, 2002 at 21:46 UTC |