in reply to Win32 development

You can use Tk so that you can develop it on any platform .. as for distributing, PAR makes it easy (from a windows box; i think cross-compile is possible too) to bundle into a .exe .. as for installing it, you could just write a batch file to drop it into the right place, or even a perl script to to it (and Win32::Shortcut to put a shortcut in the accessories/games folder or desktop)

Replies are listed 'Best First'.
Re^2: Win32 development
by strat (Canon) on Dec 04, 2005 at 11:10 UTC

    If you want to use activestate perl, tk and PAR together, use ActivestatePerl 809 with the included Tk. Later Perl builts seem to have problems with the combination of Tk/PAR... you can pack it, but if you want to execute the .exe archive, there arise some ugly errormessages.

    If you need instruction for tk-mines from my homepage in english, just send me an email or msg. (for a link see esskar's posting above...)

    Best regards,
    perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Re^2: Win32 development
by dragonchild (Archbishop) on Dec 04, 2005 at 02:42 UTC
    Do you have an example for using each of these items? I have 3 weeks to write this and I know nothing about the Win32 infrastructure. I've also never used Tk, PAR, or any of these other tools. I'm a webapps/DBA guy who lives completely on *nix. Help me out, brother!

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
      PAR is the easy part .. get v.90 by running ppm3 from a DOS prompt, and then doing:
      install http://www.bribes.org/perl/ppm/PAR.ppd
      That gives you a script pp to run...
      pp -o foo.exe --gui foo.pl
      And that's (probably) it -- you have a foo.exe you can drop anywhere (and no pre-existing perl.exe or modules required on the target machine)..

      As for Tk, This thread was just posted Tk how-to? and has some good stuff.. but i'd definitely go the route of finding some examples -- esskar's line to Tk-mines sounds promising..

      I haven't actually used Win32::Shortcut, but i've seen PM postings about it in the past 6 months..
        call me a cynic, but par is never that easy. i find i have to say a prayer first, throw salt over my shoulder, and avoid full moons when using it ... and then, if i am lucky, par works 3 out of 4 times. i find old par .exes which used to run stop doing so. par programs which used to compile on one xp box don't on another. i know i sound like complainer, which isn't my intent. par is great, the concept is great, the fact the bundling works is an amazing technical feat, the fact the bundle is a zip file which can be dissected is damn cool too. i like par. i try to use par. most of time i can use it successfully. but par is, by its nature, much less reliable than typical of most perl technologies (which almost never hiccup). not a complaint, not a rant, just my opinion.