in reply to Re^4: Undefined subroutine - newbie problem
in thread Undefined subroutine - newbie problem
Errr... yes, use!
Or you could do something like this:
use UNIVERSAL::require; for (qw(gts pts sts rt ss)) { my $mod = "modules::$_"; $mod->require and $mod->import; }
Though I wouldn't especially recommend it.
You do know, don't you, that a single module can export more than one sub?
|
|---|