Catmandu::Importer::Atom - Package that imports Atom feeds
use Catmandu::Importer::Atom; my $importer = Catmandu::Importer::Atom->new(url => "..."); my $n = $importer->each(sub { my $hashref = $_[0]; # ... });
Create a new Atom importer for the URL. Optionally provide a entries parameter with the feed items you want to import.
Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited. The Catmandu::Importer::Atom methods are not idempotent: Atom feeds can only be read once.
Catmandu::Iterable
To install Catmandu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu
CPAN shell
perl -MCPAN -e shell install Catmandu
For more information on module installation, please visit the detailed CPAN module installation guide.