in reply to Re: coding a subroutine as both method and regular function
in thread coding a subroutine as both method and regular function

So, you suggest a package should not offer both procedural and oo methodology? For the general case? Or that it should be solved in another manner, by separating it into different subroutines?

  • Comment on Re^2: coding a subroutine as both method and regular function

Replies are listed 'Best First'.
Re^3: coding a subroutine as both method and regular function
by perrin (Chancellor) on Mar 22, 2007 at 17:47 UTC
    Yes, I think it's a bad idea to offer both. It just makes more work, more confusion, and more bugs.