lynn <> wrote:
><> wrote in message
> news: ups.com...
> You really need to follow the guidelines that Tad suggested.
> You need to make it easy for someone to help you. If I
> had asked this question I would have provided a script
> that can be run by anyone. (See end of post for example)
But the problem would have gone away during the exercise
of constructing the small program, and the solution would
have become evident *before* asking hundreds of other people
to help with it.
(this is precisely the purpose of including that suggestion
in the guidelines.
)
> Now that, that is done, what is the problem that you are trying to solve?
> my @logfile = qw(
> 25 Feb 2005 09:17:35
After the OP changed it up to load directly rather than from
a file, the problem would have gone away, and it could be
seen where the problem originated.
The OP's problem was a missing chomp().
--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas