Hi, how to parse the last line of a file.

I have this code:
$pb->destroy unless($last_line=~/^dhcpd|LOG_INFO|ftpd/);

$last_line=??

The file is already open.

Thanks


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

Reply via email to