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

Re: Noob OO Question

by bichonfrise74 (Vicar)
on Jun 08, 2010 at 18:37 UTC ( #843720=note: print w/ replies, xml ) Need Help??


in reply to Noob OO Question

I think you want something like this...
sub method_d { my ($self, %args) = @_; my $method_c = $self->{method_c}; my $test_c = $self->{test_c}; my $exec_test_c = $$test_c->(); my $exec_method_c = $method_c->( $exec_test_c ); return $exec_method_c; }
Comment on Re: Noob OO Question
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2016-04-30 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.