here is a short Perl program:

#!/usr/bin/perl

#use Mac::Glue;
use MacPerl;

$val = MacPerl::Answer("Pick your function","Edit Program", "Receive Program", "Send Program");


Now if you run this you get a graphical UI dialog box.

If you uncomment the Mac::Glue line, it will no longer be a graphical UI, but a text one on the console.

What am I doing wrong here?  (Other than using a Mac...)

All I need for this program is a simple UI for picking files from a directory, a save dialog and a couple of list dialogs with buttons. The rest is socket code and misc processing to talk to a serial to ethernet box.

Alan Olsen
[EMAIL PROTECTED]
[EMAIL PROTECTED]



Reply via email to