|Problems? Is your data what you think it is?|
Making a GUI based Win32 app from Perl script.by Speedfreak (Sexton)
|on Nov 18, 2002 at 09:55 UTC||Need Help??|
Speedfreak has asked for the
wisdom of the Perl Monks concerning the following question:
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?
edited: Mon Nov 18 15:34:27 2002 by jeffa - formatting adjustments