On Mon, 17 Mar 2003, Thomas Hilbig wrote:
I need to dup the STDOUT handle for a package
(Spreadsheet::WriteExcel) to work properly under
mod_perl.
The code below from the MP1 User documentation now
gives an error in MP2:
use constant IS_MODPERL = $ENV{MOD_PERL};
if
To all,
Years ago, I found a module called FindBin that at least seamed to solved many
problems. I use it in mod_perl code (I'm on Win 2000) like this:
use FindBin qw($Bin);
use lib $Bin/sims;# Directory for specific application.
use lib $Bin/common; # Directory
Goehring, Chuck Mr., RCI - San Diego wrote:
Where do you put your .pm files for application-specific code?
Under mod_perl 1, I just put them in SERVER_ROOT/lib/perl, which is
automatically added to @INC by mod_perl. Can someone confirm if this
still works for mp2?
Of course you can just put
Perrin,
Thanks. Sometimes the docs tell you the most complicated way to do things for
academic purity.
Chuck
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 3:21 PM
To: Goehring, Chuck Mr., RCI - San Diego
Cc: [EMAIL PROTECTED] (E-mail)
On Mon, 17 Mar 2003, Perrin Harkins wrote:
Goehring, Chuck Mr., RCI - San Diego wrote:
Where do you put your .pm files for application-specific code?
Under mod_perl 1, I just put them in SERVER_ROOT/lib/perl, which is
automatically added to @INC by mod_perl. Can someone confirm if this
Hi,
I'm using the great perl package Apache::Request (with mp1) to fetch
GET/POST
parameters; however it seems there is no way to test if a parameter
exists; in fact even if the parameter does not exist, the
Apache::Request param method returns '' (the empty string); so there is
some ambiguity in
I'm having a problem using a SOAP::Lite mod_perl handler, and I can't seem
to see what I'm missing.
Basically I've setup a section as such:
Location /soap
SetHandler perl-script
PerlHandler SOAP::Handler
/Location
And the module SOAP::Handler as such:
use strict;
use SOAP::Transport::HTTP;