Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Hello fellow monks,

Thanks to a fundamental requirement change, I want to make an existing CGI Perl application do something it was never designed for. (Or throw it away and start over, but I'm hoping that won't be the best course of action!)

This application is a single CGI script, plus about a dozen internal modules (and a few more from CPAN). From a black box perspective, it's basically a web form which is used to generate a data file. Nothing special, by any means.

The original requirement was that this would be used internally only, so it's currently on an internal web server. Now, (you guessed it), management wants to give it to a customer as an easily installable closed-source desktop application (Windows primarily, but cross-platform support would be even better.)

I see my options basically as follows:

  1. Rewrite the whole thing in Java. (Lot of work, but will meet the new requirement.)
  2. Rewrite the interface component in Perl/Tk (Much less work, but not sure how successful I'll be at compiling it and putting it into an easily installable package. Having customers install ActiveState Perl would be a very, very tough sell. It needs to be one installer (or, better yet, a single executable).)
  3. Keep the application as-is, but somehow package that into a single executable. (Compiled separately for Win/Mac/Linux of course). This is potentially the least amount of work, but I'm not aware of any reasonable way to do this, without requiring customers run a web server(!) on their desktops.

Am I missing something? How would you go about this?


In reply to Perl CGI app to executable? by wanna_code_perl

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



  • 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.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-24 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found