ninjazin has asked for the wisdom of the Perl Monks concerning the following question:
As this script has syntax error i expected some kind of error as output as i'm using strict and warnings, but instead of it is showing 502 error at server no matter what's the error.#!/usr/bin/perl use strict; use warnings; use CGI; my $test = new CGI; print $test->header("text/html"); $test->start_html("Perl Test") print $test->h1("Perl is working!"); print $test->end_html;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Strict 502 Error No DEBUG SUPPORT
by fishmonger (Chaplain) on Mar 27, 2015 at 20:22 UTC | |
|
Re: Perl Strict 502 Error No DEBUG SUPPORT
by MidLifeXis (Monsignor) on Mar 27, 2015 at 20:24 UTC | |
|
Re: Perl Strict 502 Error No DEBUG SUPPORT
by NetWallah (Canon) on Mar 28, 2015 at 04:15 UTC | |
|
Re: Perl Strict 502 Error No DEBUG SUPPORT
by marinersk (Priest) on Mar 27, 2015 at 22:25 UTC | |
|
Re: Perl Strict 502 Error No DEBUG SUPPORT
by Laurent_R (Canon) on Mar 28, 2015 at 09:46 UTC | |
|
Re: Perl Strict 502 Error No DEBUG SUPPORT
by Anonymous Monk on Mar 27, 2015 at 22:10 UTC |