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 reply to Re: naming anonymous subroutines inner variables
by zwon
in thread naming anonymous subroutines inner variables
by writch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |