---
name: "XML::Atom::Util"
section: "3pm"
platform: "linux"
package: "perl-xml-atom"
version: "0.43-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XML::Atom::Util"
---

# XML::Atom::Util(3pm)

Utility functions

## 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.
