hmeharward has asked for the wisdom of the Perl Monks concerning the following question:
I've created a new module to use with my driver program but the driver program is already using subroutines from another module (not created by me) that I'd like to also use. How to do include the subroutines from both modules? I tried something like below but that only includes the functions from the first module.
use lib "$codes_dir"; require ($codes_dir . "/perl_libs/perl_db_interface.pl"); use lib "$runner_lib"; require ($runner_lib . "/runner_libs/CodesModule.pm");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Multiple Modules
by choroba (Cardinal) on Jan 19, 2016 at 23:10 UTC | |
by hmeharward (Novice) on Jan 21, 2016 at 21:02 UTC | |
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 | |
|
Re: Using Multiple Modules
by Anonymous Monk on Jan 20, 2016 at 00:36 UTC |