in reply to Re: creating hashes recursively
in thread hashes recursively

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^3: creating hashes recursively
by japhy (Canon) on Jun 09, 2006 at 10:56 UTC
    If you really have '<$path', that's your problem. Single quotes don't expand a variable. Better off to use the 3-arg form of open():
    open my($log), "<", $path or die "can't open $path: $!"; while (<$log>) { ... }

    Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
    How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart