The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

File::Sticker::Reader::Xattr - read and standardize meta-data from ExtAttr file

VERSION

version 3.0101

SYNOPSIS

    use File::Sticker::Reader::Xattr;

    my $obj = File::Sticker::Reader::Xattr->new(%args);

    my %meta = $obj->read_meta($filename);

DESCRIPTION

This will read meta-data from extended user attributes of files, and standardize it to a common nomenclature, such as "tags" for things called tags, or Keywords or Subject etc.

DEBUGGING

whoami

Used for debugging info

METHODS

priority

The priority of this reader. Readers with higher priority get tried first.

allowed_file

If this reader can be used for the given file, then this returns true. This can be used with any file, if the filesystem supports extended attributes. I don't know how to test for that, so I'll just assume "yes".

known_fields

Returns the fields which this reader knows about. This reader has no limitations.

    my $known_fields = $reader->known_fields();

read_meta

Read the meta-data from the given file.

    my $meta = $obj->read_meta($filename);

BUGS

Please report any bugs or feature requests to the author.