Data::Plist::Reader - Abstract superclass for BinaryReader
# Create new $read = Data::Plist::BinaryReader->new; # Reading from a string C<$str> my $plist = $read->open_string($str); # Writing from file C<$filename> $plist = $read->read($filename);
Data::Plist::Reader is an abstract superclass of BinaryReader. Takes either a string or a filehandle containing data formatted as an Apple property list and returns it as a Data::Plist.
Data::Plist::Reader
Data::Plist
Create a new reader.
Takes binary data $content and reads it into a filehandle. Then passes that filehandle to "open_fh".
$content
Takes a filename $filename and reads its data into a filehandle. Then passes the filehandle to "open_fh".
$filename
Place-holder method for Reader's subclass. Currently unimplemented.
To install Data::Plist, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Plist
CPAN shell
perl -MCPAN -e shell install Data::Plist
For more information on module installation, please visit the detailed CPAN module installation guide.