On Fri, 08 Apr 2005 11:59:12 -0400, Shaun Fryer wrote:
>> >use lib "$ENV{'DOCUMENT_ROOT'}/pdftest";
> 
> use lib is done at compile time. the %ENV isn't available til run-time IIRC.

False:

$ perl -le 'print grep /peter/ => @INC'

$ perl -le 'use lib $ENV{HOME}; print grep /peter/ => @INC'
/home/peter
$

-- 
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to