in reply to syntax error near "){"

<!--#exec cgi="/cgi-bin/exist_deadline.cgi" -->

I don't think that's valid perl code:
use warnings; <!--#exec cgi="/cgi-bin/exist_deadline.cgi" --> while(1) { # line 5 print "."; last; } __END__ Outputs: syntax error at try.pl line 5, near ") {" syntax error at try.pl line 8, near "}" Execution of try.pl aborted due to compilation errors.
Cheers,
Rob

Replies are listed 'Best First'.
Re^2: syntax error near "){"
by greymoose (Beadle) on Nov 07, 2007 at 05:52 UTC
    Bang on Rob. It isn't valid PERL code. As soon as read the replies to my post I knew what I'd done. I put an HTML insert into a cgi script. Thanks for your input.