When I run it inline I get (paraphrasing because I won't have access to my box until tonight) "error in syntax at line 4 near 'Content-type: text/html...' Compilation aborted errors"
In response to Q2: I created the file on the box via ssh from my windows machine.
In response to Q3: I checked the apache log and the only message I received was "Premature end of headers" which had me spinning in circles for a while trying to figure out what my print's weren't coming through.
I tried what you suggested as well, and it is in fact a symbolic link. It links to a second symbolic link called "perl5", which in turn links to an executable script "perl5.8.0". could this be the cause of my troubles... should I be using "#!/usr/bin/perl5.8.0"? Thanx for your reply!
"If you're ever lost and need directions, ask the guy on the motorcycle."
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.