You wrote:
I noticed yesterday that /Library/Perl/darwin/ contains the
PerlObjCBridge module. It appears pretty interesting, but I have only
built a couple simple programs. Has anyone else tried using this
module? The only reference that I have seen was a thread last October
by the module's owner at Apple. Does anyone have insight into Apple's
future plans?
Thanks,
Dan
Were you able to make the addServer/addClient pair work?
I could not, so I sent e-mail to Wiebe, the Apple Engineer.
Of course, I've not heard from him....
I was able to make "CamelBones" do some simple things, though.
Regards,
Don
The message to Wiebe follows:
From: Don Briggs <[EMAIL PROTECTED]>
Date: Fri Aug 30, 2002 6:02:19 PM US/Pacific
To: Doug Wiebe <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: re PerlObjCBridge: how to run addServer.pl, addClient.pl?
Attachments: There is 1 attachment
Hello, Doug.
PerlObjCBridge in 6C115 seems really interesting. I've got a Cocoa application
that could use some help from Perl. I've got a work-around using CamelBones,
but�I look forward to using PerlObjCBridge.
Warning/Disclaimer:
� I know Objective-C via Project Builder, but
� I don't often compile from the command line, and
� I'm just learning Perl,
I tried following the directions in
/Library/Perl/darwin/PerlObjCBridge.pm
included in build 6C115.
Here's how far I got:
[1] did
% h2xs -A -n AddSystem
to set up the AddSystem directory
[2] modified the files as indicated
[3] did
% perl Makefile.PL
[4] did
% make
[5] resulting in:
AddSystem_attempt.gnutar.gz
Description: GNU Zip compressed data
However, I get stuck:
% ./addServer.pl
Can't locate loadable object for module AddSystem in @INC (@INC contains:
/System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin
/Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl
/Network/ Library/Perl .) at ./addServer.pl line 3
Compilation failed in require at ./addServer.pl line 3.
BEGIN failed--compilation aborted at ./addServer.pl line 3.
More clues, please!
Regards,
Don
John and all Apple DTS folks: Suggestion for a DTS example:
[1] an example Cocoa/Objective-C/Perl project with
[2] a working Perl addServer
[3] accessible to an Objective-C client through DO
[4] so we could type in numbers in two NSTextFields
[5] and see the addServer's response in a third NSTextField
(and for bonus points)
[6] including a build phase to handle the Perl XSUB make magic?
