It's one of those days. Even the fun little hack I was writing in CamelBones hates me this afternoon.
Documentation (From O'Reilly's Cocoa In A Nutshell):
// Read all available data and converting it to a string NSData *data = [fh availableData]; NSString *str = [NSString stringWithData:data];My code (in Perl:)
my $data = $outhandle->availableData; my $string = NSString->stringWithData($data);
Exception raised during posting of notification. Ignored. exception: *** -[NSConcreteFileHandle availableData]: Invalid argumentBah.