in reply to Re^2: Noob OO Question
in thread Noob OO Question
This works!! But how come I cannot do this?my $testing = $self->{test_b}; print $$testing->();
It gives us this output.print $$self->{test_b}->();
Also, how do I dereference '$test->method_d()'?Not a SCALAR reference at Hi.pm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Noob OO Question
by JavaFan (Canon) on Jun 08, 2010 at 00:01 UTC | |
by Anonymous Monk on Jun 08, 2010 at 00:12 UTC | |
by ikegami (Patriarch) on Jun 08, 2010 at 04:59 UTC | |
by bluescreen (Friar) on Jun 08, 2010 at 00:21 UTC |