Re: Grab last line like `tail'

2002-12-01 Thread Danijel Tasov
Harry Putnam wrote:
> Is there a perl equivalent to the unix `tail' command?  Where I could
> grab the last line from a file without having to read the whole file?

There is the module File::ReadBackwards;

# perl -MCPAN -e 'install File::ReadBackwards'
$ perldoc File::ReadBackwards;

bye,
Da.Ta



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Grab last line like `tail'

2002-12-01 Thread Harry Putnam
Is there a perl equivalent to the unix `tail' command?  Where I could
grab the last line from a file without having to read the whole file?



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]