At 8:04 AM -0500 11/14/02, Chris Nandor wrote:
Mac::Carbon includes MacPerl.pm, which has some of the same functions as
the MacPerl version: primarily convenience functions like SetFileInfo,
GetFileInfo, and DoAppleScript.

There's a Mac::AppleScript module that has a RunAppleScript, which is
mostly like DoAppleScript; the only real difference is in the error
value in $@.  RunAppleScript outputs errOSAScriptError for every failed
compilation (which is a bit unuseful, but I figure it could be changed
... Dan?).  DoAppleScript puts the text of the error in there.
Apparently there's a bug in Mac::AppleScript that needs fixing. OTOH, if there's nothing that Mac::AppleScript does that Mac::Carbon doesn't, then I'm all for tossing its guts and turning it into a simple wrapper for Mac::Carbon. No point in duplicating the code if there's no win.
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk

Reply via email to