Without any idea of what the error could possibly be, without one little piece of information about what happens when you try to run this program or how you try to run this program I'm going o say that I don't have a friggin clue what's wrong!
Next, if you're actually trying to access this page from the web browser and you're getting a 500 error, I suggest:
- Review the web logs ( tail LOG_FILE , where LOG_FILE is a path to the log file which could be anywhere ).
- put use CGI::Carp qw(fatalsToBrowser); after your #! line.
- Run the program from the command line and watch the output.
Note: I ran this program locally without any trouble. In light of that, I would also: check permissions, make sure it's in the right place, try running it from the command line, make sure your web server is set up to run Perl programs, * ( read: c'mon man, give me a clue! ).
--
Casey
I am a superhero.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.