maddfisherman has asked for the wisdom of the Perl Monks concerning the following question:
FILEHANDLE has "asdkjflaksdjf****askldfjas;lkdfj****sdkfj" $/ = "****"; while <FILEHANDLE> { if (last loop) {print NEWFILE "$_"} else {print OLDFILE "$_"} }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: end of
by japhy (Canon) on Aug 24, 2001 at 06:04 UTC | |
by bbfu (Curate) on Aug 25, 2001 at 03:16 UTC | |
|
Re: end of
by Aighearach (Initiate) on Aug 24, 2001 at 05:52 UTC |