Mac::PropertyList 1.29 review

Download
by rbytes.net on

Mac::PropertyList is a Perl module to work with Mac plists at a low level. SYNOPSIS use Mac::PropertyList; m

License: Perl Artistic License
File size: 17K
Developer: Brian D. Foy
0 stars award from rbytes.net

Mac::PropertyList is a Perl module to work with Mac plists at a low level.

SYNOPSIS

use Mac::PropertyList;

my $data = parse_plist( $text );

# == OR ==
my $data = parse_plist_file( $filename );

# == OR ==
open my( $fh ), $filename or die "...";
my $data = parse_plist_fh( $fh );


my $text = plist_as_string( $data );

my $plist = create_from_hash( %hash );
my $plist = create_from_array( @array );

my $plist = Mac::PropertyList::dict->new( %hash );

This module is a low-level interface to the Mac OS X Property List (plist) format. You probably shouldn't use this in applications---build interfaces on top of this so you don't have to put all the heinous multi-level object stuff where people have to look at it.

You can parse a plist file and get back a data structure. You can take that data structure and get back the plist as XML. If you want to change the structure inbetween that's your business.

You don't need to be on Mac OS X to use this. It simply parses and manipulates a text format that Mac OS X uses.

What's New in This Release:
Perl

Mac::PropertyList 1.29 search tags