Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Remove bless reference or class/package name from method arguments

by phaylon (Curate)
on May 25, 2009 at 16:07 UTC ( #766061=note: print w/ replies, xml ) Need Help??


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

Alright then. I think I still wouldn't want to do this though, but merely out of maintainability issues. Foo::bar and Foo->bar are not the same, and I wouldn't expect them to be. After all, if you'd want to make a method that accepts an instance as first argument as the invocant, it wouldn't work anymore.


Ordinary morality is for ordinary people. -- Aleister Crowley
  • Comment on Re^3: Remove bless reference or class/package name from method arguments

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://766061]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2016-06-30 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (396 votes). Check out past polls.