in reply to Re^2: Using Multiple Modules
in thread Using Multiple Modules
require CodesModule; 'CodesModule'->import;
Or you might even need to name the subroutines as the import's parameters if the module doesn't use @EXPORT but @EXPORT_OK.
Update: if you switched to
use CodesModule;
you need to name the subs for @EXPORT_OK in this way:
use CodesModule qw{ func1 func2 };
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Using Multiple Modules
by hmeharward (Novice) on Jan 22, 2016 at 18:21 UTC | |
by choroba (Cardinal) on Jan 22, 2016 at 18:32 UTC |