1Net::Amazon::Property::UDsVeDr(3C)ontributed Perl DocumeNnetta:t:iAomnazon::Property::DVD(3)
2
3
4
6 Net::Amazon::Property::DVD - Class for DVDs on amazon.com
7
9 use Net::Amazon;
10
11 # ...
12
13 if($resp->is_success()) {
14 for my $prop ($resp->properties) {
15 print $_->title(), " ",
16 $_->studio(), " ",
17 $_->year(), "\n";
18 }
19
21 "Net::Amazon::Property::DVD" is derived from "Net::Amazon::Property"
22 and on top of the all-purpose methods the base class provides, it
23 offers specialized accessors for DVD parameters.
24
25 METHODS
26 title()
27 Returns the title of the DVD.
28
29 studio()
30 Returns the studio.
31
32 directors()
33 Returns a list of directors. Note that there's also a director()
34 method only returning the first director.
35
36 starring()
37 Returns the same list as the method actors().
38
39 upc()
40 Returns the DVD's UPC as a string.
41
42 media()
43 Returns the DVD's media type as a string.
44
45 nummedia()
46 Returns the DVD's number of media (number of discs) as a string.
47
48 theatrical_release_date()
49 Returns the DVD's theatrical release date.
50
51 As of Net::Amazon 0.61 this method has been deprecated. It appears
52 that this information is no longer from Amazon.
53
54 mpaa_rating()
55 Returns the DVD's MPAA rating.
56
57 features()
58 Returns the DVD's features as a list of strings. Examples: "Color",
59 "Closed-captioned", "Widescreen".
60
61 ReleaseDate()
62 Returns the release date.
63
64 For historical reasons, this method used to return the theatrical
65 release date. However, as of version Net::Amazon 0.48 the release
66 date is returned, and a separate "theatrical_release_date()" method
67 is available.
68
69 new(xmlref => $xmlref)
70 Initializes an object by passing a hash of hashes structure
71 containing the XML data returned from the service. Usually, this is
72 just used by "Net::Amazon" internally to initialize objects for on
73 backcoming data.
74
75 Check out Net::Amazon::Property for all-purpose accessors, like "year",
76 "OurPrice", "ListPrice", etc.
77
79 Mike Schilli, <m@perlmeister.com>
80
82 Copyright 2003 by Mike Schilli <m@perlmeister.com>
83
84 This library is free software; you can redistribute it and/or modify it
85 under the same terms as Perl itself.
86
87
88
89perl v5.28.0 2011-10-29 Net::Amazon::Property::DVD(3)