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

That did cross my mind thanks.
Would you need to implement a custom isa method that searches @ISA?
Or is there a built in? can't find anything on perldoc.
John,
  • Comment on Re^2: Remove bless reference or class/package name from method arguments

Replies are listed 'Best First'.
Re^3: Remove bless reference or class/package name from method arguments
by moritz (Cardinal) on May 20, 2009 at 10:51 UTC
    The isa method is already there, provided by the UNIVERSAL class, and can be called without any further ado:
    $ perl -wle 'print +(bless {})->isa("main")' 1