Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I was working on Mac::Growl, a perl binding for Growl []. It originally worked with Foundation, and I made it so that if Foundation is unavailable, it would use Mac::Glue or AppleScript. Then we wanted image support, which I added to the Mac::Glue and AppleScript code, but could not add to the Foundation code, since NSImage and NSWorkspace are in AppKit. Anyway, here's the code I added:

            my $path = NSString->stringWithCString_('/System/Library/Frameworks/AppKit.framework');

    • Glad I could help. My Cocoa-fu is still almost nonexistent, but that was such a good hack I had to put it somewhere I wouldn't lose it.