|No such thing as a small change|
Indirect Filehandles + use strict = errorby bowei_99 (Friar)
|on Mar 14, 2006 at 01:59 UTC||Need Help??|
bowei_99 has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, I'm to use indirect filehandles, per Damian Conway's PBP, like so:
Of course, I have
use strict;enabled, and would like to leave it that way. But because of that, I'm getting the following error when I run the code:
As you'd expect, line 105 is the open statement in the code above.
I'm using perl 5.8.7, so I know I don't need to have
use Symbol qw( gensym );(according to PBP, pg. 204, it's only needed for versions less than 5.6). I'd also like to stay with the standard builtin modules, so it rules out using IO::File. Any thoughts?