Tatsuhiko Miyagawa > XML-Atom-0.12_01 > XML::Atom::Util

Download:
XML-Atom-0.12_01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  21
Open  8
View/Report Bugs
Source   Latest Release: XML-Atom-0.41

NAME ^

XML::Atom::Util - Utility functions

SYNOPSIS ^

    use XML::Atom::Util qw( iso2dt );
    my $dt = iso2dt($entry->issued);

USAGE ^

iso2dt($iso)

Transforms the ISO-8601 date $iso into a DateTime object and returns the DateTime object.

encode_xml($str)

Encodes characters with special meaning in XML into entities and returns the encoded string.

AUTHOR & COPYRIGHT ^

Please see the XML::Atom manpage for author, copyright, and license information.

syntax highlighting: