otherwise you could store a wrapper to the getDBH() invocation:$parser->{ 'getDBH' } = \&common_class::getDBH;
$parser->{ 'getDBH' } = sub { $common->getDBH; };
In reply to Re^3: sub by reference - assigning to an object?
by Arunbear
in thread sub by reference - assigning to an object?
by ethrbunny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |