Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Generic accessor for inside-out objects...

by parv (Parson)
on Dec 10, 2007 at 22:12 UTC ( [id://656251]=note: print w/replies, xml ) Need Help??


in reply to Generic accessor for inside-out objects...

my $eval_string = sprintf '$return_val = $%s_of{refaddr $self};', +$attr;

I suppose $%s_of{...} is just a typo.

Update: Never mind, completely missed sprintf() there.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found