in reply to Using currently selected filehandle
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; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using currently selected filehandle
by sgifford (Prior) on Jun 23, 2003 at 18:22 UTC |