perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matt <m...@cipherdesign.com>
Subject Reading compile settings from within httpd.conf
Date Fri, 02 Nov 2001 14:38:10 GMT
Hello list,

Just a quick question:

Is there any way to read apache's compile time settings (like when you
do httpd -V) from within <perl> sections?

Thanks,

Matt

-- 
#!/usr/bin/perl
$A='A';while(print+($A.=(grep{($A=~/(...).{78}$/)[0]eq$_}"  A A A  "
=~m{(...)}g)?"A":" ")=~/([ A])$/){if(!(++$l%80)){print"\n";sleep 1}}


Mime
View raw message