develooper Front page | perl.perl5.porters | Postings from January 2001

Re: More lvalue tomfoolery

Thread Previous | Thread Next
Peter Scott
January 15, 2001 16:00
Re: More lvalue tomfoolery
Message ID:
At 09:46 PM 1/15/01 +0000, Simon Cozens wrote:
>Should this be legal?
>     (($a) x 4) = 1;

Yes, then I would have a much stronger claim that

         ($x, (undef)x3, $y) = sub_returning_list();

ought to be allowed...

Peter Scott
Pacific Systems Design Technologies

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