in reply to Is this a bug with Date::Manip?

The problem has nothing in particular to do with Date::Manip. It's caused by something (from within ParseDate()) trying to modify the global $_, which is aliased to your tied log (something like $_ = "foo"; instead of the my $xxx = ParseDate($1); would have the same effect).   Rewrite your for-loop as

for my $t (@log) { # ... }

and everything should be fine.

Replies are listed 'Best First'.
Re^2: Is this a bug with Date::Manip?
by Anonymous Monk on Nov 11, 2008 at 16:27 UTC
Re^2: Is this a bug with Date::Manip?
by aidan (Initiate) on Nov 11, 2008 at 17:03 UTC
    Thanks almut,
    So I was being stupid!