Strange variable in JAPH
- Hi folks,
I was reading a JAPH and found out this variable: $#_. In the 'perlvar' I read about the $# variable. But I don't know if these variables, $#_ and $#, are the sames.
The snippet code about this variable is:
$u **= $^T != cos($w) ? $w : $#_;
Do someone could help me?
Thanks in advance and regards.
perl -e '$_="tMM naaCt Feocmama_itpUilucoGa";$_.=$1,print $2 while s/(..)(.)//;print substr$_,1,1;'
"...just because I don't know the meaning of my art, does not mean it has no meaning..." S.D.
Fale com seus amigos de graça com o novo Yahoo! Messenger
[Non-text portions of this message have been removed]
>>>>> "tnas" == tnas <nascimentothiago@...> writes:tnas> Hi folks,
tnas> I was reading a JAPH and found out this variable: $#_. In the 'perlvar' I read about the $# variable. But I don't know if these variables, $#_ and $#, are the sames.
tnas> The snippet code about this variable is:
tnas> $u **= $^T != cos($w) ? $w : $#_;
$#_ is to @_ what $#array is to @array.
Does that help?
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!