httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug McNutt <dougl...@macnauchtan.com>
Subject Re: [users@httpd] Unable to load perl file
Date Tue, 07 Sep 2010 15:51:07 GMT
At 12:20 +0530 9/7/10, aparna aryan wrote:
Hi Doug,

We don't see PERL5LIB set in old installation.
Is there any other way to check what paths are included in @INC in old server?

On your old server. It can still run a shell, I hope.

As a simple perl script
#! /usr/bin/perl
print @INC;

or perhaps directly from a shell

perl -e print @INC;

echo "print @INC" | perl

The point is that @INC is a real list in perl. You can format it better with a loop on the
items

#! /usr/bin/perl
foreach $ddd (@INC)
  print "$ddd\n";
end

It's possible that you'll get some difference between running from your home directory and
running as a CGI. You could put a test like the ones above in CGI space and access them with
a browser to see the printed output.

-- 
--> If the US citizens between 18 and 21 would exercise their right to vote we wouldn't
have a 21 year  drinking age. <--

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message