L
Leslie Viljoen
Hello!
I have been trying to figure out one of Abigail's JAPH
signatures (check http://www.cpan.org/misc/japh):
#!/usr/bin/perl -lw
eval {die [[qq [Just another Perl Hacker]]]};;
print
${${${@}}[$#{@{${@}}}]}
[$#{${@{${@}}}
[$#{@{${@}}}]}]
This is the center of the expression in a few places: ${@}
Are we dereferencing the @? What does the @ on its own mean?
The Programming Perl manual I have makes no reference to this
shorthand and Google and Altavista don't seem to search on
punctuation.
I have tried printing ${@} and @, but I get nothing.
Presumeably the die puts the error message in the @ in some
format.
Can someone please explain?
Les
I have been trying to figure out one of Abigail's JAPH
signatures (check http://www.cpan.org/misc/japh):
#!/usr/bin/perl -lw
eval {die [[qq [Just another Perl Hacker]]]};;
${${${@}}[$#{@{${@}}}]}
[$#{${@{${@}}}
[$#{@{${@}}}]}]
This is the center of the expression in a few places: ${@}
Are we dereferencing the @? What does the @ on its own mean?
The Programming Perl manual I have makes no reference to this
shorthand and Google and Altavista don't seem to search on
punctuation.
I have tried printing ${@} and @, but I get nothing.
Presumeably the die puts the error message in the @ in some
format.
Can someone please explain?
Les