Using Perl in Cocoa

2005-10-26 Thread Manfred Bergmann
Hi there. Er, I first had to find out that this is a mailing list and no newsgroup. I signed at google groups, posted messages and wondered why they actually are not there when I browsed the list at nntp.perl.org. At www.perl.org I actually figured that this is a list. Ohh dear. So if

Re: Using Perl in Cocoa

2005-10-26 Thread Sherm Pendley
On Oct 26, 2005, at 8:34 PM, Manfred Bergmann wrote: I played a bit and that's what I figured so far. But unfortunately I wasn't successfull in creating a CBPerlObject. CBPerlObject is a relic from 0.2.x, from when an Objective-C proxy was needed as a stand-in. With 1.0.x, Perl classes,

Re: Using Perl in Cocoa

2005-10-26 Thread Manfred Bergmann
Thanks sherm for replying. Am 27.10.2005 um 11:50 schrieb Sherm Pendley: CBPerl is a singleton, so it's better to use the class method to access the shared instance: CBPerl *perl = [CBPerl sharedPerl]; That doesn't work here. Get a nil pointer returned. Should be: id

Re: Using Perl in Cocoa

2005-10-26 Thread Sherm Pendley
On Oct 26, 2005, at 10:27 PM, Manfred Bergmann wrote: Am 27.10.2005 um 11:50 schrieb Sherm Pendley: CBPerl is a singleton, so it's better to use the class method to access the shared instance: CBPerl *perl = [CBPerl sharedPerl]; That doesn't work here. Get a nil pointer returned.

Re: Using Perl in Cocoa

2005-10-26 Thread Manfred Bergmann
Ok, that worked. Thanks. Hmm, how come that I couldn't find any documentation about this? All I found was a little example code on a japaneese internet site where you couldn't read anything except the code snippet itself. :) This was, as you said, an old example with CBPerlObject but it

Re: Using Perl in Cocoa

2005-10-26 Thread Joel Rees
On 2005.10.27, at 12:27 PM, Manfred Bergmann wrote: Ok, that worked. Thanks. Hmm, how come that I couldn't find any documentation about this? All I found was a little example code on a japaneese internet site where you couldn't read anything except the code snippet itself. :) This was, as

Re: Using Perl in Cocoa

2005-10-26 Thread Sherm Pendley
On Oct 26, 2005, at 11:27 PM, Manfred Bergmann wrote: Hmm, how come that I couldn't find any documentation about this? Because I haven't written any. ;-) Why haven't I written any? Because I haven't really considered this side of things - calling Perl from Objective-C - as being final. It