in reply to Using Multiple Modules
my ($codes_dir, $runner_lib); BEGIN { $codes_dir = '...'; $runner_lib = '...'; } use lib "$codes_dir/perl_libs", "$runner_lib/runner_libs"; require 'perl_db_interface.pl'; require 'CodesModule.pm';
Note that normally, you shouldn't require files but packages:
require CodesModule;
Why don't you use them directly, anyway?
($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^2: Using Multiple Modules
by hmeharward (Novice) on Jan 21, 2016 at 21:02 UTC | |
|
Re^2: Using Multiple Modules
by hmeharward (Novice) on Jan 21, 2016 at 21:25 UTC | |
by choroba (Cardinal) on Jan 22, 2016 at 08:55 UTC | |
by hmeharward (Novice) on Jan 22, 2016 at 18:21 UTC | |
by choroba (Cardinal) on Jan 22, 2016 at 18:32 UTC |