At 12:57 PM -0500 5/30/01, Randy Boring wrote:
> Me, too.
>
> A friend of mine develops Perl/Tk solutions for field workers who mostly
> use Windows. He mostly uses Linux, and switch-boots to check that it
> still works under Windows. Some of the people he could be helping use
> Macs (my former colleagues). But where's MacPerl/Tk? He doesn't want to
> be slowed down by doing any more for them than for the Windows majority
> (periodic spot-checking only), so he's not going to learn Mac-specific
> GUI programming.
I must admit I am of similar sentiment. I love the Mac and the interface,
but for this project, I really need as close to 100% re-use as possible.
To my knowledge there is no MacPerl/Tk.
But I am really hoping that someone has done it, or is working on it right
now. If so, I'd be happy to help beta test it. I'd take a stab at it my
self, but I am just not up to speed on this stuff.
> If he can get his Mac people up on Mac OS X, does Perl/Tk work there, at
> least? (Most would probably need new hardware to run X, so this isn't a
> good answer; I'm mostly just curious as to whether it's any answer.)
I have found some clues on how to mate MacPerl and Mac Tk:
Mac Tk FAQ
<http://www.scriptics.com/software/mac/macFAQ.html>
[...]
12.1 How can I make an interface between MacTk and MacPerl?
There are two ways to do this:
The traditional way,on UNIX,is to open up a socket connection between
Perl and Tk, and to send scripts back and forth on this socket.
This will work fine on the Mac as well.
The other option is to send "do script" AppleEvents back and forth,
although this is likely to be somewhat sluggish.
I haven't taken a look at the AppleScript piece, but this is already much more
divergent from the level of portability I was hoping for.
Socket connection: Sounds promising, but I am unfamiliar with this stuff.
Anybody done this, have an example, or interested in taking a stab at it?
--
+------------------------------------------------------------------+
| Taylor Leaming <mailto:[EMAIL PROTECTED]> |
| Austin, Texas |
+------------------------------------------------------------------+