Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
but I want to read the first file as a special case and then the rest of the files with <>.while(<>) { //do stuff }
how can I do that ?open FST, $ARGV[0]; while(<FST>) { //do stuff } while(<>) { // other stuff with all files but $ARGV[0] }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: diamond operator
by Corion (Patriarch) on Jun 09, 2009 at 13:22 UTC | |
by Anonymous Monk on Jun 09, 2009 at 13:30 UTC | |
by Marshall (Canon) on Jun 09, 2009 at 16:33 UTC | |
by Corion (Patriarch) on Jun 09, 2009 at 16:41 UTC | |
by Marshall (Canon) on Jun 09, 2009 at 17:56 UTC | |
|
Re: diamond operator (eof)
by tye (Sage) on Jun 09, 2009 at 14:30 UTC | |
by Anonymous Monk on Jun 09, 2009 at 14:59 UTC | |
|
Re: diamond operator
by Marshall (Canon) on Jun 09, 2009 at 16:06 UTC |