DOKK / manpages / debian 11 / libxml-feed-perl / XML::Feed::Enclosure.3pm.en
XML::Feed::Enclosure(3pm) User Contributed Perl Documentation XML::Feed::Enclosure(3pm)

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

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

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

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

A synonym for wrap.

The url of the object.

The MIME type of the item referred to in url.

The length of object referred to in url

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

2021-02-01 perl v5.32.0