in reply to Re: Parsing barewords as sub/method calls? (workaround)
in thread Parsing barewords as sub/method calls?
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 );
|
|---|