in reply to Noob OO Question
And I realized that it should be this...sub method_d { my ($self, %args) = @_; my $method_c = $self->{method_c}; my $execute_c = $method_c->($method_c); return $execute_c; }
And it is giving me this output.sub method_d { my ($self, %args) = @_; my $method_c = $self->{method_c}; my $execute_c = $method_c->($self->(test_c)); return $execute_c; }
But I wanted this output.Can't use string ("REF(0x8420678)this is me.") as a subroutine ref whi +le "strict refs" in use at Hi.pm
get_aget_bthisisme.
|
|---|