httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brent 'Dax' Royal-Gordon <br...@brentdax.com>
Subject Re: [users@httpd] Finding Perl's @INC locally
Date Thu, 27 May 2004 17:55:26 GMT
kynn@panix.com wrote:
> 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)?

If you have shell access, just type the following:
     perl -V

At the end of the output, you'll see the contents of @INC.

If you mean getting it over the Web from Apache, no--you'll need some 
sort of CGI script (or mod_perl handler, or something) to do that.

-- 
Brent "Dax" Royal-Gordon <brent@brentdax.com>
Perl and Parrot hacker

Oceania has always been at war with Eastasia.

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