>The only reason it doesn't work the second time is that "use lib 'lib'"
>happens at compile time.  It's like a BEGIN block.  To make it happen
>every time, you could just do this:
>
>unshift(@INC, qw(lib extlib));

For what it's worth, I had to do this instead:

  BEGIN { unshift(@INC, qw(lib extlib)); }

-- 
Morbus Iff ( take this ming! i'm sick of your dynasty! )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to