develooper Front page | perl.perl5.porters | Postings from March 2003

Re: $_ not optional with lexical prints

Thread Previous | Thread Next
From:
Spider Boardman
Date:
March 20, 2003 09:23
Subject:
Re: $_ not optional with lexical prints
Message ID:
200303201721.MAA487399@leggy.zk3.dec.com
On Thu, 20 Mar 2003 17:47:01 +0100, "H.Merijn Brand" wrote (in part):

hmb> It does know that $v is bound to an I/O channel.

The *parser* doesn't know that.  On the other hand, the fact that
C<print {$v}> is a syntax error instead of assuming the default
post-indirob arglist, while probably also not quite a bug, is something I
find annoying.

	--s.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About