in reply to Re: How to best "use lib" relative to a web site root?
in thread How to best "use lib" relative to a web site root?

Thank you, davido.

I looked at that in perldoc, and also thought that to be a strong candidate (created for Mac filepath munging), but wasn't sure it'd fully accomplish my goal. I'll give it a go. While I'm at it, I'll see if I can deduce what would cause them to eliminate the lib pragma. Should provide me a great deal more insight on the very question I asked here. :)

Thank you, davido. For taking the time to respond.

--Chris

#!/usr/bin/perl -Tw
use Perl::Always or die;
my $perl_version = (5.12.5);
print $perl_version;
  • Comment on Re^2: How to best "use lib" relative to a web site root?

Replies are listed 'Best First'.
Re^3: How to best "use lib" relative to a web site root?
by davido (Cardinal) on Nov 28, 2013 at 02:10 UTC

      I got this bit of wisdom from the source of Mojolicious enlightenment: "you'd expect that's what lib does, but it doesn't! ...and that's the problem :)"

      Calling that "wisdom" is generous :)

      i wouldn't trust most of what that guy complains about ... unless he provides actual detail, hes prone to FUD