Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Rainer Weikusat
June 9, 2015, 5:20 pm
rate this thread
my $self = $_;
return @ && $self->[SYNS][$#] == JS_DICT;
local *_ = $_->[SYNS];
return @_ && $_[$#_] == JS_DICT;
Uses *_ because strict won't complain about that. I didn't even think of
expressing the first term with $_ instead of the temporary.
- » avoid explicit dereferencing for methods/ subroutines
- — Previous thread in » PERL Discussions