in reply to Reading in a dumped hash reference works in the perl debugger but not in the code.

DATA is a predefined keyword, plz use something different. (but not END ;-)

see Special Literals in perldata

Cheers Rolf

  • Comment on Re: Reading in a dumped hash reference works in the perl debugger but not in the code.
  • Download Code

Replies are listed 'Best First'.
Re^2: Reading in a dumped hash reference works in the perl debugger but not in the code.
by Anonymous Monk on Mar 15, 2012 at 17:00 UTC

    Thanks for the tip LanX, I'll keep that in mind. :)

    Using NOTDATA for the file handle yields the same results