Hi,

I have never really used Perl, and before I spend lots of time trying to learn it, I'd like to know if it will be able to do what I need.

I have a .c file that I have compiled into an executable. The user would like to be able to run this from the command line (not a problem) or from a web-based interface (uh-oh!). So, I guess I want to be able to:

1. Pass an executable a couple of parameters gathered from an HTML form (using a POST method?)
2. Wait for the .exe to generate the new HTML code
3. Load the newly generated html page back into the browser

Does this sound like a good candidate for a Perl script? As a novice Perl programmer, would I be getting in over my head? I have about 5 days to figure out and implement this. If Perl isn't the right answer, can anyone suggest another scripting language that could accomplish this?

I'm a ColdFusion programmer by trade, but have to write this script to run on a W2K server, running Apache and CygWin. Woe is me... ;)

Thanks,

-DJ


In reply to Can Perl do this...? by DJ

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.