https://github.com/msoap/xml-plist-perl
Read Mac OS plist files as xml (using XML::LibXML) / perl
https://github.com/msoap/xml-plist-perl
library perl plist xml xml-plist
Last synced: 10 months ago
JSON representation
Read Mac OS plist files as xml (using XML::LibXML) / perl
- Host: GitHub
- URL: https://github.com/msoap/xml-plist-perl
- Owner: msoap
- Created: 2012-02-26T18:41:06.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2017-03-20T17:46:13.000Z (over 9 years ago)
- Last Synced: 2025-08-08T14:44:44.184Z (11 months ago)
- Topics: library, perl, plist, xml, xml-plist
- Language: Perl
- Homepage: http://msoap.github.io/xml-plist-perl/
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
XML-PList
=========
NAME
----
XML::PList - parse mac os .plist files
SYNOPSIS
--------
use XML::PList;
# parse file
my $data = XML::PList->new('file.plist')->parse();
# parse string
my $data = XML::PList->new(\'...')->parse();
DESCRIPTION
-----------
parse mac os .plist (only xml) files
METHODS
-------
### new
create XML::PList object
my $plist = XML::PList->new($filename);
my $plist = XML::PList->new(\$string_with_plist_xml);
# parse binary plist via external utility plutil (on Mac OS only)
my $xml_string = qx'plutil -convert xml1 -o - binary.plist';
my $plist = XML::PList->new(\$xml_string);
### parse
parse plist xml into perl structure
my $data = $plist->parse();
INSTALLATION
------------
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
------------
This module requires these other modules and libraries:
- XML::LibXML
- MIME::Base64
SEE ALSO
--------
- Mac::Tie::PList
- Data::Plist
- Mac::PropertyList
AUTHOR
------
Copyright (C) 2012 by Sergey Mudrik
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.