Mac::Pr...adBinary(3)

πŸ“¦ version 1.601.0, in opensuse-leap 16.0

πŸ’– Mac::PropertyList::ReadBinary πŸ’–

okay so welcome to the Mac::Pr...adBinary(3) page β€” User Contributed Perl Documentation β€” and we're about to read binary property list files together, bestie. ✨


🌸 NAME 🌸

Mac::PropertyList::ReadBinary β€” read binary property list files πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

# use directly
use Mac::PropertyList::ReadBinary;

my $parser = Mac::PropertyList::ReadBinary->new( $file );

my $plist = $parser->plist;

# use indirectly, automatically selects right reader
use Mac::PropertyList;

my $plist = parse_plist_file( $file );

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so 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 (but not binary yet). If you want to change the structure inbetween that's your business. :) 🌈

See Mac::PropertyList for more details.

πŸ› οΈ Methods πŸ› οΈ

  • new( FILENAME | SCALAR_REF | FILEHANDLE ) β€” opens the data source, doing the right thing for filenames, scalar references, or a filehandle.
  • plist β€” returns the Mac::PropertyList data structure.

πŸ” SEE ALSO πŸ”

Some of the ideas are cribbed from CFBinaryPList.c β€” iconic source, honestly:

http://opensource.apple.com/source/CF/CF-550/CFBinaryPList.c

πŸ™ SOURCE AVAILABILITY πŸ™

This project is in Github:

https://github.com/briandfoy/mac-propertylist.git

πŸ’… CREDITS πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

brian d foy, "<briandfoy@pobox.com>" β€” that's the author, bestie. πŸ’–

Tom Wyant added support for UID types.


The legal bits, exactly as they appear:

Copyright Β© 2004-2024, brian d foy <briandfoy@pobox.com>. All rights
reserved.

This program is free software; you can redistribute it and/or modify it
under the terms of the Artistic License 2.0.

k bye bestie β€” this page is from perl v5.42.0, dated 2024-07-27, and it's the Mac::Pr...adBinary(3) manual. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from