$ perl -wE 'print "${\__PACKAGE__}\n";'
main
(or "${\(...)}") which is a little less unsightly, if the expression returns a scalar. In reply to Re^2: a few questions about __PACKAGE__
by Anonymous Monk
in thread a few questions about __PACKAGE__
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |