see perlsub for the explanation:
&NAME; # Makes current @_ visible to called subroutine.
It's a syntax to pass parameters through, so it can't accept new arguments.
DB<27> sub tst { [@_] } DB<28> sub outer { &tst } DB<29> x outer(1,2,3) 0 ARRAY(0x2f700e8) 0 1 1 2 2 3 DB<30> x &tst 1,2,3 Number found where operator expected at
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
for clarification, while interesting, this doesn't answer my question and side effects are too weird...
In reply to Re^2: Disabling the interpretation of diamond <> operator in package?
by LanX
in thread Disabling the interpretation of diamond <> operator in package?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |