in reply to Re: print to a filehandle
in thread print to a filehandle
That syntax never made sense to me. It's correct, but it doesn't feel right. If it's %h = %{ $h }; and @a = @{ $a }, then why isn't it print *{ $_->[0] } "moo\n"? am I going it alone on that? Perhaps I simply dont' understand the context of the filehandle in a print statement.
Hrm, perldsc leads me to believe it's just another code block (rather than a deref) so the parser can figure out it's a file handle argument ... maybe?
-Paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: print to a filehandle
by polettix (Vicar) on Dec 21, 2006 at 14:22 UTC | |
|
Re^3: print to a filehandle
by f00li5h (Chaplain) on Dec 21, 2006 at 13:34 UTC | |
|
Re^3: print to a filehandle
by Fletch (Bishop) on Dec 21, 2006 at 14:17 UTC | |
|
Re^3: print to a filehandle
by Anonymous Monk on Dec 21, 2006 at 14:22 UTC |