Again...my intention is to load all the .pm files in that directory at compile time. Any other thoughts?BEGIN { $mod_path "/home/tboyd/lib/site_perl/5.6.1/Tools/"; my @mods = glob("$mod_path*"); for (@mods) { require $_; } }
In reply to Re: Re: Load all modules in directory
by ttcuberat
in thread Load all modules in directory
by ttcuberat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |