in reply to Re: enabling OO and non-OO access to the same module using a hash reference
in thread enabling OO and non-OO access to the same module using a hash reference

ref($_[0]) works if you use named parameters, since the first arg is either an object or a parameter name.
  • Comment on Re^2: enabling OO and non-OO access to the same module using a hash reference
  • Download Code