tanger has asked for the wisdom of the Perl Monks concerning the following question:
This doesn't work:use lib '/home/tanger/www/mods'; use Email::Valid;
I've been trying to figure out how to do this correctly for the last 2 hrs and had no luck or progress. If anyone knows if this is even possible , please let me know :)my $mod_path = '/home/tanger/www/mods'; use lib $mod_path; use Email::Valid;
But this does not work as well... Thanksmy @mod_path = '/home/ripenapp/perl_mods'; use lib @mod_path; use Email::Valid;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use lib problem.
by vrk (Chaplain) on Jun 01, 2007 at 07:10 UTC | |
by sanPerl (Friar) on Jun 01, 2007 at 09:52 UTC | |
|
Re: use lib problem.
by GrandFather (Saint) on Jun 01, 2007 at 07:07 UTC | |
|
Re: use lib problem.
by syphilis (Archbishop) on Jun 01, 2007 at 07:14 UTC | |
by ikegami (Patriarch) on Jun 01, 2007 at 14:22 UTC | |
|
Re: use lib problem.
by Tomte (Priest) on Jun 01, 2007 at 07:21 UTC | |
|
Re: use lib problem.
by tanger (Scribe) on Jun 01, 2007 at 07:33 UTC | |
by shmem (Chancellor) on Jun 01, 2007 at 07:50 UTC | |
by friedo (Prior) on Jun 01, 2007 at 07:42 UTC |