The easiest solution is probably:
eval "use $_madFile"; # or... eval "use MA::$_madFile";
use statements execute right after Perl compiles them, before it starts running the rest of the program. If they contain variables, those variables will contain undefined values (because they didn't get set yet).
In reply to Re: Using Modules
by chromatic
in thread Using Modules
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |