However the second open is in the wrong place:
### WRONG ### while (<BIG>) { open OUT, ">outfile_" .$i++; if ( m/^\$\n$/ ) { ### CORRECT ### open OUT, ">outfile_" .$i++; while (<BIG>) { if ( m/^\$\n$/ ) {
--tidiness is the memory loss of environmental mnemonics
In reply to Re: Re: Re: Splitting long file
by EvdB
in thread Splitting long file
by Micz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |