Tom Gazzini said:
> I can call a method on an object using the following:
>
> $objref->func()
>
> However, if I try to call this using a symbolic reference:
>
> my $func_name = "$objref->func";
> &{$func_name)();
>
> then I get the following error:
>
> "Undefined subroutine &main::$objref->func c
I can call a method on an object using the following:
$objref->func()
However, if I try to call this using a symbolic reference:
my $func_name = "$objref->func";
&{$func_name)();
then I get the following error:
"Undefined subroutine &main::$objref->func called.."
The problem is that the perl