perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CraigT <ct8...@yahoo.com>
Subject Re: Trying To Come Up Under PerlRun
Date Wed, 21 Nov 2007 19:59:45 GMT


Craig Tussey wrote:
> 
> 
> Here is the value of $ENV{MOD_PERL} = 'mod_perl/2.0.2'.   And it prints
> this way in both links.
> 
> Below is the way I bring the parameters across in the programs of the 2
> links I listed in the original post..
> 
> my $page = new CGI;
> 
> 1st link - ss.cgi
> $govlevel = $page->param("ssstr");
> 
> 2nd link - vumenu.cgi
> $params = $page->param("vmstr");
> 
> Craig
> 
> 




Perrin Harkins wrote:
> 
> On Nov 21, 2007 1:47 PM, CraigT <ct8638@yahoo.com> wrote:
>> > Since the
>> > last time, I reworked all subroutines into stand-alone objects, as you
>> > suggested would be necessary to ever get to mod_perl.   It was a good
>> > exercise.
> 
> Glad to hear it.
> 
>> > ***I verify the links using a printing routine I use in debugging to
>> > verify parameters upon entry into a program.
> 
> Okay.  Can you print out $ENV{MOD_PERL} too, just to make sure that
> PerlRun is picking this up and not something else?
> 
>> > ***Here is the error message(s).   These downstream commands, from the
>> > paramter-in point, fail because no data comes through.
>> >
>> > Use of uninitialized value in split at
>> > C:/usr/www/steepusa/cgi-bin/vumenu.cgi line 73.
> 
> Is that where you try to use the variables?  What are you using to
> parse CGI paraeters?  CGI.pm, or something else?
> 
> - Perrin
> 
> 

-- 
View this message in context: http://www.nabble.com/Trying-To-Come-Up-Under-PerlRun-tf4849679.html#a13884817
Sent from the mod_perl - General mailing list archive at Nabble.com.


Mime
View raw message