in reply to Re: sub by reference - assigning to an object?
in thread sub by reference - assigning to an object?
my $common = common_class->new(); my $parser = parser_class->new(); ### this is the ugly part $parser->{ 'getDBH' } = \&$common->getDBH;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: sub by reference - assigning to an object?
by Arunbear (Prior) on Mar 26, 2008 at 17:23 UTC |