Note that &BLA; has the interesting side effect of passing @_ through:
use strict; use warnings; use feature 'say'; our $AUTOLOAD; sub AUTOLOAD { say "Autoload called as $AUTOLOAD(@_)" } sub BLUBB { say "BLUBB called with @_"; &BLA; }; BLUBB( 1,2,3 );
In reply to Re^2: Parsing barewords as sub/method calls? (workaround)
by Corion
in thread Parsing barewords as sub/method calls?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |