in reply to Subroutine Prototyping/Subroutine Argument Parsing

Further to what BrowserUk and sauoq have said, prototypes are ignored by methods e.g
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
This behaviour can be attributed to the fact that exact method to be called cannot be determined until runtime.
HTH

_________
broquaint