in reply to Bareword warning question

Everything works fine on a newer (5.8.8) version of Perl

I think much older versions of Perl required barewords for file handles. Could you be using such a version? I can't replicate your problem with 5.6.0+

Replies are listed 'Best First'.
Re^2: Bareword warning question
by Akoya (Scribe) on Jul 12, 2007 at 22:57 UTC
    It could be something with my build of Perl 5.6.0, which is running on Solaris 2.6. Unfortunately, upgrading is not an easy path on a production server. The simple workaround that I mentioned does work for me, though. Thanks for the quick reply.