Scott wrote:
>
> Hi:
Hello,
> I have a file that contains a header row, I want to remove the first line
> and start processing
> on the second line. Would you recommend using seek to scan for the last
> word in the first line?
open FILE, $file or die "Cannot open $file: $!";
<FILE>; # read first line in a void context
while ( <FILE> ) {
# second and subsequent lines are in $_
...
}
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]