in reply to returning a hash from a module
Therefore, the first argument to the subroutine is not the id, but the class name. Insert the following line to the top of the sub:MyDB->get_transaction(10000);
my $class = shift;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: returning a hash from a module
by jms53 (Monk) on Mar 01, 2013 at 19:13 UTC |