in reply to Re^3: Undefined value as a symbol reference
in thread Undefined value as a symbol reference

It looks like this is a version issue. I tracked down the 5.8.0 documentation, and according to that version of perlopentut, it looks like three-argument open and indirect file handles were not yet implemented.

No, the code posted only requires perl 5.6.0

If OP is getting an error he is not using perl 5.8.0

  • Comment on Re^4: Undefined value as a symbol reference

Replies are listed 'Best First'.
Re^5: Undefined value as a symbol reference
by kennethk (Abbot) on Jul 21, 2014 at 23:48 UTC
      :) Not my assertion :) perlver - The Perl Minimum Version Analyzer
        The perl -v that I posted in the original post was directly from the server I am using, I didn't make that mistake. That is why I was so confused as to why I was having trouble. I had the "camel book" right in front of me that said 5.6+ but it still wasn't working. All I can assume is when it was updated to 5.8 it didn't update correctly.

      $perl -e 'print "$]\n"' 5.008

      $perl -v This is perl, v5.8.0 built for i586-pc-sco3.2v5.0