anonymized user 468275 has asked for the wisdom of the Perl Monks concerning the following question:
I have a library directory $HOME/lib for my modules and have made a subdirectory AAA where module A lives and expect to use lib "$ENV{HOME}/lib"; (except it will be literally defined, without ENV), but that might not be right.
Because my question is: Where should these modules actually be located, how should I include them best in @INC and how should I therefore reference their methods? Let's say for simplicity we just have four methods here: both have a 'new', A has a method addB to insert B's objects into the mentioned array inside A's instance variable and B has a method 'process' that only knows about its given instance of B.
Thanks for any advice.
One world, one people
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: children without inheritance
by chrestomanci (Priest) on Nov 19, 2010 at 13:44 UTC | |
|
Re: children without inheritance
by locked_user sundialsvc4 (Abbot) on Nov 19, 2010 at 14:13 UTC | |
|
Re: children without inheritance
by ikegami (Patriarch) on Nov 19, 2010 at 14:36 UTC | |
|
Re: children without inheritance
by anonymized user 468275 (Curate) on Nov 19, 2010 at 15:39 UTC | |
by tod222 (Pilgrim) on Nov 19, 2010 at 19:41 UTC | |
by roboticus (Chancellor) on Nov 19, 2010 at 18:23 UTC |