The code posted below is just me trying to get something to work, it is giving an internal server error.
That's because it doesn't compile:
$ perl -cw 11111940.pl
Status: 500
Content-type: text/html
<h1>Software error:</h1>
<pre>syntax error at 11111940.pl line 16, near "'<h1>Woohoo
+oo!</h1>':"
11111940.pl had compilation errors.
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error
+ message
and the time and date of the error.
</p>
[Tue Jan 28 12:12:01 2020] 11111940.pl: syntax error at 11111940.pl li
+ne 16, near "'<h1>Woohoooo!</h1>':"
[Tue Jan 28 12:12:01 2020] 11111940.pl: 11111940.pl had compilation er
+rors.
If you fix your punctuation you might have better luck.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|