sanket vaidya wrote:
Kindly go through the code below.

<snip>

use CGI::Push qw(:standard);

do_push(-next_page=>\&refresh,
            -last_page=>\&done);

<snip>

When I run this code typing "http://localhost/push.cgi"; in the browser I get
internal server error.

I  use Apache 2.2 on windows & perl 5.10.

Try setting the -nph parameter to a false value.

    do_push (
        -next_page => \&refresh,
        -last_page => \&done,
        -nph => 0,
    );

See http://search.cpan.org/perldoc?CGI::Push#INSTALLING_CGI::Push_SCRIPTS

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to