[boulder.pm] hash for multiple filehandles?
Rob Nagler
nagler at bivio.com
Wed Jul 19 15:10:41 CDT 2000
> What "print" doc? perldoc print? I'll check that when I get home.
> For some ungodly reason, they refuse to let me put the perldoc, manpages, etc
> on the boxes here.
Don't need to install if you have the web:
http://www.perl.com/pub/doc/manual/html/pod/perlfunc/print.html
> print { $Handle{$i} } "$Line\n" if ($Records{$RecNum} eq "T");
> Use of uninitialized value at ./DefMungeSplit.pl line 222 (#2)
> Can't use an undefined value as a symbol reference at ./DefMungeSplit.pl line
> 222 (#3)
Is it the $i instead of $RecNum?
If you use -w and "use strict", perl will tell you that "$i" is not a declared
variable.
Perl SHOULD tell you what undefined value (variable) is causing the error,
but it doesn't, unfortunately.
Rob
More information about the Boulder-pm
mailing list