Although it just seems like it'd be a lot either to just print it to the file hand directly as hardburn said.my $fh = select; printto("Hello\n"); sub printto { my $string = shift; print $fh $string; }
In reply to Re: Using currently selected filehandle
by erasei
in thread Using currently selected filehandle
by sgifford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |