lepetitalbert has asked for the wisdom of the Perl Monks concerning the following question:
Hello dear Monks
the script is structured :
if ( $mode eq 'draft') { #display an editable draft } elsif ( $mode eq 'preview' ) { #preview } elsif ( $mode eq 'create' ) { my $param_cnt = 0; # number of lines of the output print h2( "DEBUG 0 " ); foreach ( param() ) { $param_cnt++ if ( $_ =~ /concerne/ ); } print h2( "DEBUG 1 : $param_cnt" ); # goes on }
I'm on win32 apache2.2.8 activestate 5.8.8
the script works until $param_cnt = 120 and then hangs between 'DEBUG 0' and 'DEBUG 1'
I first thought about something like 'MaxParamLenght' but the parameters first go through ( $mode eq 'draft ), then through ( $mode eq 'preview' ).
Any idea ?
Have a nice day.
"There is only one good, namely knowledge, and only one evil, namely ignorance." Socrates
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: cgi script works until n+1 parameter
by roboticus (Chancellor) on May 27, 2008 at 13:08 UTC | |
by lepetitalbert (Abbot) on May 27, 2008 at 15:10 UTC | |
by roboticus (Chancellor) on May 27, 2008 at 18:01 UTC | |
by lepetitalbert (Abbot) on May 28, 2008 at 14:37 UTC | |
Re: cgi script works until n+1 parameter
by MidLifeXis (Monsignor) on May 27, 2008 at 11:36 UTC | |
by lepetitalbert (Abbot) on May 27, 2008 at 11:56 UTC | |
by mwah (Hermit) on May 27, 2008 at 12:18 UTC |
Back to
Seekers of Perl Wisdom