develooper Front page | perl.perl5.porters | Postings from November 2010

Re: [perl #78740] The (+) prototype is too limiting

Thread Previous
November 1, 2010 03:11
Re: [perl #78740] The (+) prototype is too limiting
Message ID:
Father Chrysostomos wrote:
>I have often wished that the \$ prototype could take any scalar expression,

That would yield a ref to a temporary in some cases.  It is a useful
feature that \$ will reject a non-lvalue.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About