Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^14: Apache Registry with Server Side Includes

by Anonymous Monk
on Jan 07, 2012 at 15:20 UTC ( #946767=note: print w/ replies, xml ) Need Help??


in reply to Re^13: Apache Registry with Server Side Includes
in thread Apache Registry with Server Side Includes

aha !
running the dump before, during and after a series of calls to the test script demonstrated that after the first call (and every other call) to the script, that there was one "count" parameter, and it always remained at 5:

$VAR1 = bless( { ".parameters" => [ "count" ], "count" => [ 5 ], (... the rest was deleted...)
but why???


Comment on Re^14: Apache Registry with Server Side Includes
Download Code
Re^15: Apache Registry with Server Side Includes
by Anonymous Monk on Jan 07, 2012 at 16:05 UTC

    Aha x2.

    Using this changed the behavior to what I expected:

    CGI::initialize_globals;

    Info found at, where else:

    http://www.perlmonks.org/?node_id=11194

    By googling cgi.pm param caching

    Note that this seemed to clear the params from the object, as shown by the CGIDebug, but did not affect the "count" parameter.

    Thanks for all the help, folks.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://946767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-08-23 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls