If I've understood Mr Bliako's message correctly, it doesn't work. The open in DrillPressTable.pl and the call to printout are the same, and the error message begins "print() on unopened filehandle LF...", and printout is changed according to his message:
sub printout { my ($lines, $_fh) = @_; my $fh = $_fh ? $_fh : *STDOUT; foreach my $line (@{$lines}) { print $fh "$line\n"; } } # End printout;
In reply to Re^2: Filehandle in subroutine in use VRML.pm
by smittypaddler
in thread Filehandle in subroutine in use VRML.pm
by smittypaddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |