in reply to How to use CGI::Carp
Had you looked at your screen, you have would seen this error:
syntax error at a.pl line 15, near "set_message" BEGIN not safe after errors--compilation aborted at a.pl line 16.
Had you looked at your log file, you would have seen this error:
Bareword found where operator expected at a.pl line 15, near "set_mess +age" (Missing semicolon on previous line?)
(I don't know why it was split into two instead of being written to both places.)
There's no semicolon between the 2nd and 3rd statement inside the BEGIN.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to use CGI::Carp
by Anonymous Monk on Jul 01, 2010 at 13:48 UTC | |
by ikegami (Patriarch) on Jul 01, 2010 at 17:41 UTC | |
by Anonymous Monk on Jul 01, 2010 at 17:50 UTC | |
by ikegami (Patriarch) on Jul 01, 2010 at 17:54 UTC | |
by OverlordQ (Hermit) on Jul 01, 2010 at 15:59 UTC |