View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Simon Wistow > XML-Feed > XML::Feed::Enclosure

Download:
XML-Feed-0.43.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  6
View/Report Bugs
Source   Latest Release: XML-Feed-0.53

NAME ^

XML::Feed::Enclosure - Wrapper for enclosure objects

SYNOPSIS ^

    my ($enclosure) = $entry->enclosure;
    print $enclosure->type;

DESCRIPTION ^

XML::Feed::Enclosure represents a content object in an XML::Feed::Entry entry in a syndication feed.

USAGE ^

wrap

Take params and turn them into a XML::Feed::Enclosure object.

new

A synonym for wrap.

$enclosure->url

The url of the object.

$enclosure->type

The MIME type of the item referred to in url.

$enclosure->length

The length of object refereed to in url

AUTHOR & COPYRIGHT ^

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

syntax highlighting: