1XML::Feed::Enclosure(3)User Contributed Perl DocumentatioXnML::Feed::Enclosure(3)
2
3
4
6 XML::Feed::Enclosure - Wrapper for enclosure objects
7
9 my ($enclosure) = $entry->enclosure;
10 print $enclosure->type;
11
13 XML::Feed::Enclosure represents a content object in an XML::Feed::Entry
14 entry in a syndication feed.
15
17 wrap
18 Take params and turn them into a XML::Feed::Enclosure object.
19
20 new
21 A synonym for wrap.
22
23 $enclosure->url
24 The url of the object.
25
26 $enclosure->type
27 The MIME type of the item referred to in url.
28
29 $enclosure->length
30 The length of object referred to in url
31
33 Please see the XML::Feed manpage for author, copyright, and license
34 information.
35
36
37
38perl v5.32.1 2021-01-31 XML::Feed::Enclosure(3)