in reply to Re^2: Using Modules
in thread Using Modules
That does run that subroutine, chargeCard.use UNIVERSAL::require; my $module = 'MA::' . $_madType; $module->require; my $_cardCharged = $module->chargeCard($_mad_merid);
so I know it is like it is making my module execute before EVERYTHING else.Can't call method "prepare" on an undefined value at /path/to/modules/ +MA/nm.pm line 18.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Using Modules
by powerhouse (Friar) on Oct 21, 2007 at 21:00 UTC |