in reply to Re: mod_cgid, CGI::Fast share values between different scripts?
in thread mod_cgid, CGI::Fast share values between different scripts?

thanks for the quick response. it's a pitty. such things worked a bit better with mod_perl.
here is how it works:
#!/usr/bin/perl use CGI::Fast; use IPC::ShareLite; my $share = IPC::ShareLite->new( -key => 0xBADC0DE, -create => 'yes', -destroy => 'no', ); while ( CGI::Fast->new() ) { print "Content-type: text/html\n\n"; my $x = $share->fetch; $x++; $share->store($x); print $x; }