Changeset 345
- Timestamp:
- 03/06/06 16:55:52
- Files:
-
- trunk/plagger/Makefile.PL (modified) (1 diff)
- trunk/plagger/lib/Plagger/Plugin/Aggregator/Simple.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/Makefile.PL
r342 r345 43 43 recommends('XML::Atom'), 44 44 recommends('XML::RSS::LibXML', 0.18), 45 recommends('XML::RSS::Liberal'), 45 46 ], 46 47 'Publish::Gmail' => [ trunk/plagger/lib/Plagger/Plugin/Aggregator/Simple.pm
r344 r345 4 4 5 5 use Plagger::UserAgent; 6 use List::Util qw(first); 7 use UNIVERSAL::require; 6 8 use URI; 7 9 use XML::Feed; 8 10 use XML::Feed::RSS; 9 11 10 $XML::Feed::RSS::PREFERRED_PARSER = 'XML::RSS::LibXML';12 $XML::Feed::RSS::PREFERRED_PARSER = first { $_->require } qw( XML::RSS::Liberal XML::RSS::LibXML XML::RSS ); 11 13 12 14 sub register {
