The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

File::Sticker::Reader::Yaml - read and standardize meta-data from YAML file

VERSION

version 3.0101

SYNOPSIS

    use File::Sticker::Reader::Yaml;

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

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

DESCRIPTION

This will read meta-data from YAML 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. File must be plain text and end with '.yml'

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.