taint has asked for the wisdom of the Perl Monks concerning the following question:
I looking to completely rebuild all the pages on a domain. In doing so, I want to work with libs/modules/packages that are in a state of flux. So I'll be useing libs relative to the domains web root. I tried
Hmm... my version of Perl seems to be missing define. :(# for illustrative purposes only! define ('libs') /full/path/to/webroot/libs
I looked at trying to coerce base into something useful. But that didn't look like a very good answer. I did consider blib, which is basically intended for such things. But aren't sure it's the best choice. For the most part, the pages aren't dynamic yet. But I'm hoping to find the most efficient way to handle this. Any, and all suggestions appreciated.use lib ('/libs');
Thanks.
--Chris
#!/usr/bin/perl -Tw use Perl::Always or die; my $perl_version = (5.12.5); print $perl_version;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to best "use lib" relative to a web site root?
by davido (Cardinal) on Nov 27, 2013 at 21:00 UTC | |
by taint (Chaplain) on Nov 27, 2013 at 21:48 UTC | |
by davido (Cardinal) on Nov 28, 2013 at 02:10 UTC | |
by Anonymous Monk on Nov 28, 2013 at 02:55 UTC | |
|
Re: How to best "use lib" relative to a web site root?
by Anonymous Monk on Nov 27, 2013 at 23:14 UTC |