Hi guiwp,
It's not "prohibited": How should Perl tell the difference between print $fh; and print $fh;? With the first one I meant "print the value of $fh to the currently selected filehandle" and with the second one I meant "print $_ to the filehandle $fh"? That's taking DWIM a little too far ;-)
Regards,
-- Hauke D
In reply to Re: Where automatic variable $_ doesn't work?
by haukex
in thread Where automatic variable $_ doesn't work?
by guiwp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |