Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Passing parameters to object method references

by graq (Curate)
on Jun 21, 2007 at 12:08 UTC ( #622546=note: print w/ replies, xml ) Need Help??


in reply to Re: Passing parameters to object method references
in thread Passing parameters to object method references

Using Data::Dumper is just habit. Maybe I should re-evaluate some of my habits.

And since you already broke the encapsulation of your object, why don't you return the plain function instead of a method?

I need the methods to have all the inherited properties of the object they live in (multiple inheritance, including Class::Accessor in the base class). Can I get that from a plain function?

-=( Graq )=-

  • Comment on Re^2: Passing parameters to object method references

Log In?
Username:
Password:

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

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











    Results (350 votes). Check out past polls.