paixaop has asked for the wisdom of the Perl Monks concerning the following question:
my name is Pedro and I just joined the monastery! I have a doubt on how to include my own modules in other modules. For instance if I have the following:
Now if I wan to use the Error.pm in Module::Main how do I do that. If, while developing the module, and before installing my it I simply dolib/ Module/ Try Error.pm Task.pm Main.pm
I get an error when I try to run the code. Same thing happens when I want to use Module::Try::Error in Module::Try::Task and dopackage Module::Main use Module::Try::Error;
any help is much appreciated!package Module::Try::Task; use Module::Try::Error;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Including my own modules
by desemondo (Hermit) on Dec 17, 2009 at 07:27 UTC | |
|
Re: Including my own modules
by BioLion (Curate) on Dec 17, 2009 at 10:12 UTC | |
by paixaop (Novice) on Dec 17, 2009 at 13:13 UTC | |
by almut (Canon) on Dec 17, 2009 at 15:27 UTC | |
by Anonymous Monk on Dec 17, 2009 at 14:44 UTC | |
by Anonymous Monk on Dec 17, 2009 at 10:15 UTC | |
|
Re: Including my own modules
by Anonymous Monk on Dec 17, 2009 at 07:17 UTC |