ethrbunny has asked for the wisdom of the Perl Monks concerning the following question:
########### snip eval( require( 'Parser/' . $parser_name . '.pm')); $self->{ 'parser' }->{ $parser_name } = $parser_name->new(); ####This is the problematic line: $self->{ 'parser' }->{ $parser_name }->getDBH = \&getDBH;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sub by reference - assigning to an object?
by Fletch (Bishop) on Mar 26, 2008 at 15:51 UTC | |
by ethrbunny (Monk) on Mar 26, 2008 at 16:47 UTC | |
by Arunbear (Prior) on Mar 26, 2008 at 17:23 UTC | |
|
Re: sub by reference - assigning to an object?
by ysth (Canon) on Mar 26, 2008 at 15:53 UTC |