<br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 5:05 PM, Jonathan Hogue <span dir="ltr"><<a href="mailto:jon@hogue.org">jon@hogue.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
never mind... they both were working the same, except, my code using<br>
the second case had a trailing space in the path name.<br>
<br>
(use lib also does some extra path searches based on the architecture,<br>
it appears, but that wasn't my problem.)</blockquote><div><br></div><div>What is the benefit of </div><div><br></div><div><font class="Apple-style-span" face="'courier new', monospace">BEGIN { unshift @INC, 'foo'; }</font> </div>
<div><br></div><div>over </div><div><br></div><div><br></div><div><font class="Apple-style-span" face="'courier new', monospace">use lib 'foo'; </font> ?</div><div> </div></div><br>-- <br><a href="mailto:lenjaffe@jaffesystems.com">lenjaffe@jaffesystems.com</a> 614-404-4214<br>
Scoutmaster Troop 156 - <a href="http://www.bsatroop156.org">www.bsatroop156.org</a><br>Proprietor: <a href="http://www.theycomewithcheese.com/">http://www.theycomewithcheese.com/</a> - An Homage to Fromage<br>