in reply to Re: object method question
in thread object method question
Not that I'm really advocating such a beast, merely mentioning it =]sub _setup_dbh { my $self = shift; my $dbh = DBI->connect($foo); *{ref($dbh)."dbq"} = sub { print "I am dbq" }; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: object method question
by Tanktalus (Canon) on Oct 11, 2005 at 21:45 UTC | |
by BUU (Prior) on Oct 12, 2005 at 02:38 UTC |