my $handle = new IO::File "> $outfile"; print_stuff_to($handle); sub print_stuff_to { my $fh = shift; print $fh "Foo Bar"; }
In reply to Re: Passing filehandles to subroutines
by Paladin
in thread Passing filehandles to subroutines
by ibanix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |