• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How can you incorporate Perl function within an Obj-C/Cocoa code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How can you incorporate Perl function within an Obj-C/Cocoa code?
      • From: Larry Fransson <email@hidden>
  • Prev by Date: Testing.
  • Next by Date: CodeSense on Frameworks in Java WO Project
  • Previous by thread: Testing.
  • Next by thread: Re: How can you incorporate Perl function within an Obj-C/Cocoa code?
  • Index(es):
    • Date
    • Thread