perl object "plan" has subroutine "plan_exec_time";
my $p = Plan->new;
i can call it by this way : $p->plan_exec_time
but $p->"plan_exec_time" dos not works.
now i want access the subroutine by variable refer:
my $t = "plan_exec_";
$p->"${t}time"
this is also not works
how to access the object's subroutine but donot through create an temp variable ?
because this works :
my $x = "${t}time";
$p->$x;
Planmodule. Like this:perl -e Plan.pm