in reply to WinXP, shortcut and waiting for user input

If you are running XP with ActiveState, then the easiest (although not 'most aesthetically pleasing') solution may be to enclose your perl script inside "Windows Scripting Host" using the 'Perlscript' language.

The advantage is you can give your perl code the familiar pointy-clicky shortcut-accessibility of Windows. The disadvantage is you have to use methods like WScript.Echo() instead of 'print' (since, you dont want to use cmd.exe) to display output (there are other options as well, but more tedious).

Here's a simple hello-world style example that asks for the user name, just to show what it looks like. Not tested with Term::Readkey.

<?xml version='1.0'?> <package> <job id="default"> <script src="vbInput.vbs" language="VBScript"></script> <script language="PerlScript"> ##<![CDATA[ $sName = vbInput('Please enter your name:','John Doe'); $WScript->Echo("Hello $sName, it is ".localtime() ); ##]]> </script> </job> </package>