[Columbus-pm] use lib and BEGIN @INC
Len Jaffe
lenjaffe at lenjaffe.com
Fri Nov 12 15:20:06 PST 2010
On Fri, Nov 12, 2010 at 5:05 PM, Jonathan Hogue <jon at hogue.org> wrote:
> never mind... they both were working the same, except, my code using
> the second case had a trailing space in the path name.
>
> (use lib also does some extra path searches based on the architecture,
> it appears, but that wasn't my problem.)
What is the benefit of
BEGIN { unshift @INC, 'foo'; }
over
use lib 'foo'; ?
--
lenjaffe at jaffesystems.com 614-404-4214
Scoutmaster Troop 156 - www.bsatroop156.org
Proprietor: http://www.theycomewithcheese.com/ - An Homage to Fromage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/columbus-pm/attachments/20101112/914649ab/attachment.html>
More information about the Columbus-pm
mailing list