Hej All,

I recently had a problem of data in one file format and needed to convert it to another. Being both text based, I hacked together a dandy little perl script to do the job. I tend to use perl for any text file scripts I do.

Anyway, it turns out that theres a lot of demand for the converter I wrote (it takes data from a 3D modelling program and converts it for use in a 3rd party render engine) and I plan to release the script as GPL for those that want it.

The script does nothing too special - it just opens two text files, parses them using a coule of regexps and pulls the data into arrays and then, after some sorting, re-writes the arrays out to another text file in the new format.

However, most of the user base for the script are Windows users, many running XP and the fact they will need to install Perl and use a command line will seriously reduce the pick-up/user base of the script.

So I'm wondering - is their an easy tool I could use to make my perl a simple stand-alone Win 32-bit app? I considered porting it to C++ and trying to find someone to help code a GUI front end but so far haven't had any luck searching the web for a perl2c++ converter. I dont even know if C++ supports regexp :o/

Can anyone shed any light, opinions on the best way to get this small, 3k script self-contained and useable to Windows users?

- Jed

edited: Mon Nov 18 15:34:27 2002 by jeffa - formatting adjustments


In reply to Making a GUI based Win32 app from Perl script. by Speedfreak

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.