in reply to Re: $var as accessor name?
in thread $var as accessor name?
With regard to $foo->$method, I believe that in some earlier versions (5.005?), the parenthesis are not optional:
$foo->$method();
Also with regard to $foo->$method = $value, note that because Proc::ProcessTable::Process doesn't use lvalue accessors, you need to pass the value as an argument:
$foo->$method( $value );
|
|---|