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.";
In reply to Re: Re: $_[0] as a filehandle
by sauoq
in thread $_[0] as a filehandle
by jey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |