in reply to Linux message log webifier
(my $month, my $day, my $time, my $host, my $service, undef) = split;
This is better written as:
my ( $month, $day, $time, $host, $service ) = split;
You can leave off the "undef" as Perl will simply discard that last element for you.
Cheers,
Ovid
Vote for paco!
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
---|