in reply to need help on unopened file handle

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^2: need help on unopened file handle
by ikegami (Patriarch) on Feb 28, 2008 at 09:21 UTC

    any clue ?

    Well, yeah:

    can't call method "epoch" on an undefined value at a3.pl line 28 <$fh> line 28.

    And if I were to guess what that clue/warning means, I'd say $dt, the value returned by parse_datetime, is undef. Perhaps the docs have something to say about why that would be...