in reply to Re: Python tricksin thread Python tricks
No, it's not perlish and please don't use it any more.
$# is long deprecated, and will throw exception when using on 5.30 soon.
Thank syphilis for pointing out my misunderstanding!
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
C:\_32>perl -le "print $#;"
$# is no longer supported as of Perl 5.30 at -e line 1.
C:\_32>perl -wle "@x=(7,8,9);print $#x;"
PerlMonks, of course - how could you ask?
Games & puzzles
Arts & music
Whichever pays my bills
Results (238 votes). Check out past polls.