Syntactic Confectionery Delight | |
PerlMonks |
Re^3: Remove bless reference or class/package name from method argumentsby phaylon (Curate) |
on May 25, 2009 at 16:07 UTC ( [id://766061]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|