httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <k...@panix.com>
Subject [users@httpd] Finding Perl's @INC locally
Date Thu, 27 May 2004 14:41:26 GMT



If I want to find out the value of the Perl's @INC array that a CGI
script actually sees, I set up a little CGI script that just prints
it, and point my browser to this script:

  #!/usr/bin/perl -T
  # gimme_inc.pl

  print "Content-Type: text/plain; charset=ISO-8859-1\n\n@INC\n";

My question is: is there a way of getting this information "locally"
directly from Apache (i.e. without using a webclient to fetch the
output of a script like the one above)?

Thanks in advance!

kj

---------------------------------------------------------------------
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