After playing around with their site, I see that Perl is supported. They have a support page that has a link you can click on to get more information about CGI scripting with Perl. However, this page requires a username and password (which I assume you have), so I could not read further.

Read what ferrency said, but (forgive me Father for I have sinned) forget what the Anonymous Monk wrote in points two and three.

always start out your scripts with a "Content-type: <something>\n\n" line.
If you include that in your script, it means you are not using the CGI module. Trust me on this, if you need to use Hypermart.net to host your site, you shouldn't be trying to do CGI without this module. People are probably going to be using because they're not familiar with setting up their own domain or perhaps can't afford one. Either way, this implies (to me) a lack of experience in this area. CGI is a protocol that is fraught with pitfalls for the unwary. Perl UberGurus get tripped up with cgi problems. You're not going to outthink them (no offense). Learn the CGI module well and you will be richly rewarded (in terms of the frustrations you won't experience from CGI problems).
If a script runs in a command-line window, then it should also work as a cgi.
Well, kinda sorta. If you're not using the aforementioned module, you're probably not passing form data to your script from the command line which virtually guarantees that you'll have problems running it from there.

Cheers,
Ovid


In reply to (Ovid) Re: getting a cgi script working by Ovid
in thread getting a cgi script working by mhorvat42

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.