XML::Feed::Aggregator::Sort
version 0.0401
# builtin sort methods: $aggregator->sort_by_date_ascending; $aggregator->sort_by_date; # custom sort routine $aggregator->sort_entries(sub { $_[0]->title cmp $_[1]->title });
XML::Feed::Aggregator::Sort - Role for sorting feed entries
Provide your own sorting routine via a CodeRef, two entries provided as arguments.
Sort entries with date in descending order.
Sort entries with date in ascending order.
XML::Feed::Aggregator
XML::Feed::Aggregator::Deduper
Robin Edwards <robin.ge@gmail.com>
This software is copyright (c) 2011 by Robin Edwards.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install XML::Feed::Aggregator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Feed::Aggregator
CPAN shell
perl -MCPAN -e shell install XML::Feed::Aggregator
For more information on module installation, please visit the detailed CPAN module installation guide.