in reply to Re: Remove bless reference or class/package name from method arguments
in thread Remove bless reference or class/package name from method arguments

Thank you Dean,

For most of the implementations I can use argument counting, infact I commonly pass multiple arguments as a HASH reference which kind of solves the problem. Variable size lists can even pass as an ARRAY reference:
$obj->staticMethod( [ $arg1, $arg2, $arg3 ] );

I was hoping there was some funky way of getting how it was invoked just for curiousity.

John,
  • Comment on Re^2: Remove bless reference or class/package name from method arguments
  • Download Code