<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    PYX - A perl module for PYX handling.

SYNOPSIS
     use PYX qw(attribute char comment end_element instruction start_element);
     my @data = attribute(@attr);
     my @data = char($char);
     my @data = comment($comment);
     my @data = end_element($elem);
     my @data = instruction($target, $code);
     my @data = start_element($elem, @attr);

SUBROUTINES
    "attribute(@attr)"
             Encode attribute as PYX.
             Returns array of encoded lines.

    "char($char)"
             Encode characters between elements as PYX.
             Returns array of encoded lines.

    "comment($comment)"
             Encode comment as PYX.
             Returns array of encoded lines.

    "end_element($elem)"
             Encode end of element as PYX.
             Returns array of encoded lines.

    "instruction($target, $code)"
             Encode instruction as PYX.
             Returns array of encoded lines.

    "start_element($elem, @attr)"
             Encode begin of element as PYX.
             Returns array of encoded lines.

EXAMPLE
     # Pragmas.
     use strict;
     use warnings;

     # Modules.
     use PYX qw(attribute char comment end_element instruction start_element);

     # Example output.
     my @data = (
             instruction('xml', 'foo'),
             start_element('element'),
             attribute('key', 'val'),
             comment('comment'),
             char('data'),
             end_element('element'),
     );

     # Print out.
     map { print $_."\n" } @data;

     # Output:
     # ?xml foo
     # (element
     # Akey val
     # _comment
     # -data
     # )element

DEPENDENCIES
    Exporter, PYX::Utils, Readonly.

SEE ALSO
    Task::PYX
        Install the PYX modules.

REPOSITORY
    &lt;https://github.com/tupinek/PYX&gt;

AUTHOR
    Michal إ&nbsp;paؤچek &lt;mailto:skim@cpan.org&gt;

    &lt;http://skim.cz&gt;

LICENSE AND COPYRIGHT
     آ© 2005-2016 Michal إ&nbsp;paؤچek
     BSD 2-Clause License

VERSION
    0.05

</pre></body></html>