September 24, 2002
(This post is from my old, old, super old site. My views have changed over the years, hopefully my writing has improved, and there is now more than a handful of folks reading my site. Enjoy.)
Bitchen- <a href=http://www.macosxhints.com/article.php?story=20020924060456706>Connecting Perl and Cocoa code
use Foundation;
$s1 = NSString->stringWithCString_("Hello ");
$s2 = NSString->alloc()->initWithCString_("World");
$s3 = $s1->stringByAppendingString_($s2);
printf "%s
", $s3->cString();