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" }; }
In reply to Re^2: object method question
by BUU
in thread object method question
by Zarathustra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |