Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 surveying the Monastery: (5)
As of 2014-12-26 02:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (164 votes), past polls