more useful options | |
PerlMonks |
Re: Re: Potential Ternary Operator Bugby robin (Chaplain) |
on Dec 11, 2001 at 18:49 UTC ( [id://130936]=note: print w/replies, xml ) | Need Help?? |
It's actually very easy to get the interpreter to reject @a->[3] - I'm not sure how the rumour that it's hard began. I wrote a very simple patch, which is in bleadperl, to deprecate that usage:
[robin@penderel perl@12959]$ ./perl -we '@x->[2]'
In Section
Seekers of Perl Wisdom
|
|