Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm porting some unix scripts over to the mac (uggg). The end users are gui addicts and refuse to use a command line interface. I would love to find some examples of how to structure some basic gui widgets like dialog boxes, list boxes, file handlers, etc..

I found an example of a basic little dialog box:

$answer = &MacPerl'Ask("What is the answer?")

but I can't seem to find a reference to other useful functions. Is there a list out there? Is there some way of querying &MacPerl for it's functions? Am I missing something in MacPerl's, dare I say, "useful" man pages? (the _only_ book is on 5 week backorder...)

Even better, how easy would it be to plug some perl functions into (and pass variables to and from) a RealBasic program (I've been through the tutorial but I still have more to learn).

Thanks

Replies are listed 'Best First'.
Re: MacPerl functions...
by stephen (Priest) on May 25, 2001 at 02:38 UTC
    There's a column in the online magazine PerlMonth that deals directly with MacPerl issues. It's called Script Different. There's a particular issue of that column that deals with how to use the MacPerl package.

    stephen

Re: MacPerl functions...
by larsen (Parson) on May 25, 2001 at 11:04 UTC
Re: MacPerl functions...
by Anonymous Monk on May 25, 2001 at 02:54 UTC
    Try using MacPerl::Ask() with perl 5.
    For online man pages (pod pages really) use the Shuck application that comes with MacPerl. Note that under Shuck's helpful pull down menu all the pod pages have been re-titled to single descriptive words like "Functions" that do not map directly into the pod page name. You want the Mac Specfic features document.
    Also try The MacPerl FAQ
    Also try The README.macos file etc.