I'm trying to write a simple Win32::GUI wrapper to a command-line program that requires both command line options and user interaction. That is, I want to take the following:
C:\> myprog -d filename.txt.enc Enter password for "filename.txt.enc": > P4ssw0rd Password OK, extracted to filename.txt And have the filename be set by a GUI file-browser and the password by a text field. I'll also need to collect the output so I can return some kind of success or failure message -- essentially I'm just trying to insulate users from the scaaaary command-line interface. Ordinarily I'd use Expect.pm, but that doesn't seem to have made it to the ActiveState repository yet, and I've completely given up on using CPAN here. Are there any suggestions for an ASPerl-friendly alternative? If anybody has an alternate approach to this problem, I'm all ears. (Sorry if this has come up before, but I found nothing in the archives) -- [EMAIL PROTECTED] perl -se "s((.))(printf q(%c),(10,32,65,67, 69,72,(74..76),(78..80),(82..85))[hex $&] )eg" -- -_=06fde129ae54c1b4c8152374c00 _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
