in reply to Subroutine Prototyping/Subroutine Argument Parsing
This behaviour can be attributed to the fact that exact method to be called cannot be determined until runtime.sub foo($) { print "got @_\n"; } my @args = qw/ more than one arg /; ## class method call main->foo(@args); ## standard sub call foo(@args); __output__ got main more than one arg got 4
_________
broquaint
|
|---|