Text::Amuse::Compile::MuseHeader - Module to parse muse metadata
This class is still a work in progress.
Constructor. It accepts only one mandatory argument with the output of muse_fast_scan_header (an hashref).
Return true if slides are needed. False if #slides is not present or "no" or "false".
#slides
The cleaned and lowercased header. Directives with underscores are ignored.
Defaults to en if not present.
An arrayref with topics from sorttopics, topics and cat fields. The cat field is meant to be reserved from fixed category list, so it splits at space too, while the others split at semicolon (if present) or at comma.
sorttopics
topics
cat
An arrayref with the authors from sortauthors and authors fields.
sortauthors
authors
Fields split at semicolon if present, otherwise at comma.
Same as topics, but returns a plain list of HTML formatted topics.
Same as authors, but returns a plain list of HTML formatted authors.
Moo-ifies the constructor.
To install Text::Amuse::Compile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Amuse::Compile
CPAN shell
perl -MCPAN -e shell install Text::Amuse::Compile
For more information on module installation, please visit the detailed CPAN module installation guide.