Hello list,
I have searched and searched and have just not been able to answer
this one. Does anyone know how to represent a boolean value with
PerlObjCBridge? I have tried a couple things and they have all failed:
The values of 0 or 1.
A subroutine that returns a boolean value, such as
sub YES { return
NSNumber->numberWithInt_(NSString->stringWithCString_("1")->intValue)->boolValue;
}
In all cases but 0 I get the following error:
**** ERROR **** PerlObjCBridge: convertPerlToObjC(): Argument value is
not an object and can't be converted to an NSString
For the curios I am working on a backup application using the
DiscRecording framework. I have most of the bridge module created for
DiscRecording; if anyone is interested in it just let me know and I'll
be happy to provide what I have so far.
Thanks for any help,
Tyler Riddle
--
Tyler Riddle: [EMAIL PROTECTED]
Homepage: http://foodmotron.blogspot.com
AIM: The Masta Spice
Quote: "A supercomputer is a device for turning compute-bound problems
into I/O-bound problems." âKen Batcher