Re: Unable to load perl file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux