use Perl Log In
Using Web Services with Perl and AppleScript
jonasbn writes "An article on Perl, AppleScript, and Web Services by Randal L. Schwartz has been published on O'ReillyNet." See AppleScript and Perl work together!
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

Full Access, My Access (Score:2)
The AppleScript, however, does not (yes, one could say Perl is more portable than AppleScript, even between Mac OS and Mac OS X
Re:Full Access, My Access (Score:2)
I always found I had everything I needed with MacPerl. It even came with lots of extra goodies you didn't get with the standard distribution.
I first installed MacPerl on our Mac LCIII in 1998 (about four months after I learned Perl). It quickly became the only programming language I used on the Mac. It was also the first Perl 5 I ever used. (We were still on 4 at work at that point.)
I wrote my first LWP program with MacPerl sometime in 2000/2001. To my shame, I've never installed one of the more re
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:Full Access, My Access (Score:2)
The article was to show the SOAP interface. Certainly, I'd personally write the entire thing in Perl, except that I'd have to call
to launch the user's preferred browser, and perhaps to get the temporary area if I didn't just want to use /tmp.
However, the SOAP interface between the AS side and the Perl side was very nice. Th
Re:Full Access, My Access (Score:2)
I do realize that it was more just an example of interaction, and not "you should do it this way," I was pointing this out merely because th
Re:Full Access, My Access (Score:3, Informative)
But there is... though not for Apple :-)
I know of at least OS9 for MC6809 based computers. It's vaguely UNIX-like multitasking multiuser OS [clara.net], used for example in the Dragon [clara.net] microcomputer. I I think remember people running BBSes on top of this.
Then there was OS9 [f9.co.uk] for the Sinclair QL [soft.net.uk] and the BBC Micro [nvg.ntnu.no], of which I know little. I *think* this was one of the 80's "BASIC OSes".
Re:Full Access, My Access (Score:1)
Re:Full Access, My Access (Score:2)
I don't care if you think I am being overly pedantic. :p
Hehe; you're not cut from the same cloth as RMS [gnu.org], are you? ;)
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:Full Access, My Access (Score:1)
Re:Full Access, My Access (Score:1)
I would think, MacOS-X being more Unix-like than MacOS9, that the former checks out the file's extension. But that notion is unknown under earlier MacOSes.
Re:Full Access, My Access (Score:1)
You'd want to use NSWorkspace, but I'm not sure if PerlObjCBridge wraps AppKit classes - I had the impression that it didn't. Here's how you'd do it in CamelBones:
NSWorkSpace->sharedWorkspace->openFile($htmlfile);
Re:Full Access, My Access (Score:1)
Nah. Just use Mac::AppleScript instead.
Re:Full Access, My Access (Score:1)
However, OSXMacPerl [uec.ac.jp] is a "port" of MacPerl.pm to Mac OS X, and includes MacPerl::DoAppleScript().
Re:Full Access, My Access (Score:1)
http://www.cpan.org/authors/Dan_Sugalski/Mac-AppleScript-0.03.tar.gz is the current version) Not showing on search, though. Have to see why.
Re:Full Access, My Access (Score:1)