How can you incorporate Perl function within an Obj-C/Cocoa code?
How can you incorporate Perl function within an Obj-C/Cocoa code?
- Subject: How can you incorporate Perl function within an Obj-C/Cocoa code?
- From: "Frederick C. Lee" <email@hidden>
- Date: Wed, 6 Oct 2004 15:04:50 -0700
Greetings:
I'm working with NSStrings using XCode and need some additional
(stronger) functionality that Perl could offer. Is there a way to
call a Perl routine stored within the main bundle from Objective-C that
returns a boolean value (or any datatype) that can be used within the
parent/calling Obj-C routine?
Something like:
if ([self checkString:myString]) {
...do something.
}
(BOOL) checkString:(NSString *)inString {
Call PerlRoutine (inString, result);
return BOOL result;
}
Regards,
Ric.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden