in reply to Re: $_[0] as a filehandle
in thread $_[0] as a filehandle
First of all, you're using a reference to a glob as a filehandle - that's bound not to work.
Uh... "Bound not to work"?
perl -le '$x = \*STDOUT; print $x "Bzzzt."'
That used to be the "accepted" way of passing handles around... :-)
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: $_[0] as a filehandle
by batkins (Chaplain) on Oct 30, 2003 at 11:52 UTC |