#perl - Wed 7 Mar 2007 between 19:56 and 20:41



dahunter3As soon as I add PerlFixupHandler Apache::SmallProf inside of a location directive, the code in question no longer works and apache goes to using 99% of the cpu. I did a ktrace on that process and saw it just doing a bunch of calls to getrusage() and clock_gettime() etc over and over and over again... Did I do something wrong?
Necosbbl
LoftyCrowddoes anyone speak English here??
LeoNerdOccasionally a few people do
We mostly just chat in pure perl bytecode
TreyHarriswhat's the right/best way to setup configuration variables for my test harness? (like if i need a valid server name, username, password, etc.)?
LoftyCrowdhow does the pure perl bytecode work then?
Leonerd
merlynuse Rose::DB!
NOTevilTMTOWTDI?
TreyHarrismerlyn: I have no more than a dozen variables... Rose::DB seems like overkill. A YAML or Config::* file would be fine. i'm more concerned about where to locate it, how to refer to it inside my test suite, etc.
is there any platform/location-indepedent way for me to say, "the top level dist directory of the module being tested now?"
LeoNerdFile::Spec probably can help
merlynnot Rose::DB::Object
but Rose::DB
which is specifically about managing the sets of host/user/pass as you migrate from devel to test to production
presuming it's daatabase info
TreyHarrismerlyn: no, it isn't.
merlyn: has nothing to do with databases
NOTevili'd use whatever is inside GumbyBRAIN myself.
merlyn... if i need a valid server name, username, password,
sorry - misread that as database
TreyHarrisNOTevil: are you talking about http://www.gumbybrain.com/? it doesn't define any tests, AFAICT....
quamarettoGumbyBRAIN, I want to be inside you.
GumbyBRAINThat would be the simplest way but the person inside to let that out...
bananhello - anyone ever had an error like this "[error] Can't locate loadable object for module Apache::Constants" in the apache2 error.log ?
f00li5hbanan: i'm sure someone in #apache would know
bananah perhaps - thanks
f00li5hsounds like you forgot to make something
bananf00li5h: me?
f00li5hbanan: do you get other messages before it?
banan: ja
bananahm no only this one when apache2 starts
you speak danish f00li5h?
imMutebanan: you need to 'use Apache::Constants'
banananyway it further displays in @INC (@INC contains: /etc/perl /usr/local ... ) at /usr/lib/perl5/mod_perl.pm line 14\nCompilation failed in require at /usr/lib/perl5/Apache.pm line 6.\nBEGIN failed--compilation aborted at /usr/lib/perl5/Apache.pm line 6.\nCompilation failed in require at /usr/share/perl/5.8/CGI.pm line 190.\nCompilation failed in require at /usr/share/request-tracker3.6/libexec/webmux.pl line 56.\nBEGIN failed--compilation
Khisanththe further information doesn't really matter at this point, the message means you are missing the .so that goes with the file
bananyes I figured that out and as far as I can see it's located in /usr/lib/perl5/Apache/Constants.pm
Khisanthyou either broke the install or you never installed the complete set of files
bananOK Khisanth - thanks

Page: 1 8 15 22 29 36 43 50 57 64 71 78 

IrcArchive