Skip to content

Instantly share code, notes, and snippets.

@iamleeg
Created May 12, 2012 13:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamleeg/2666568 to your computer and use it in GitHub Desktop.
Save iamleeg/2666568 to your computer and use it in GitHub Desktop.
Using the PerlObjCBridge to display a plist file
#!/usr/bin/perl -w
use strict;
use Foundation;
my $plist = NSDictionary->dictionaryWithContentsOfFile_("/Applications/TextEdit.app/Contents/Info.plist");
print $plist->description()->UTF8String();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment