in reply to naming anonymous subroutines inner variables
and $self->{ftest}() is the code that would execute itThat should be $self->{ftest}($self)
Update alternatively you can get rid of my $self = shift;
In Section
Seekers of Perl Wisdom
in reply to naming anonymous subroutines inner variables
and $self->{ftest}() is the code that would execute itThat should be $self->{ftest}($self)
Update alternatively you can get rid of my $self = shift;