Net::Am...ty::DVD(3)
πΏ Net::Amazon::Property::DVD β the manual page, but make it cute π
okay bestie, so this is Net::Amazon::Property::DVD(3), straight outta the User Contributed Perl Documentation collection. yes it's a Perl thing. yes it's old. yes it still slays. sit down, grab a boba, and let's get into it π§β¨
πΈ NAME πΈ
Net::Amazon::Property::DVD β the class for DVDs on amazon.com. that's it. that's the whole job. it's giving "I know everything about DVDs and I'm not shy about it" π
β¨ SYNOPSIS β¨
here's the vibe, in code form:
use Net::Amazon;
# ...
if($resp->is_success()) {
for my $prop ($resp->properties) {
print $_->title(), " ",
$_->studio(), " ",
$_->year(), "\n";
}
literally just check if the response came through, loop over the properties, and print the title, studio, and year. that's the whole flex. simple, clean, no notes π«Ά
π¦ DESCRIPTION π¦
so Net::Amazon::Property::DVD is derived from Net::Amazon::Property β think of it as the DVD-shaped glow-up of the base class. on top of all the all-purpose methods the parent gives you (we love an inheritance moment), it serves up specialized accessors for DVD parameters. main character energy fr fr π
π METHODS π
okay this is the part you actually came for. let's go one by one, no skipping, I don't do skipping π
title()β returns the title of the DVD. that's it. the name. the whole identity β¨studio()β returns the studio. the house that made it πdirectors()β returns a list of directors. and heads up, bestie: there's also adirector()method that only returns the first director. so if you're a "just give me one name" girlie, use that one πstarring()β returns the same list as the methodactors(). same list, different door πͺβ¨upc()β returns the DVD's UPC as a string. string! not a number! don't come for me π₯media()β returns the DVD's media type as a string.nummedia()β returns the DVD's number of media (number of discs) as a string. yes, a string, even though it's a number. it's giving chaos but we accept it πtheatrical_release_date()β returns the DVD's theatrical release date.
β οΈ okay important: as of Net::Amazon 0.61 this method has been deprecated. it appears that this information is no longer from Amazon. so it's still here, it still exists, but it's giving ghost town π»
mpaa_rating()β returns the DVD's MPAA rating. you know, the PG / PG-13 / R situation π¬features()β returns the DVD's features as a list of strings. examples:"Color","Closed-captioned","Widescreen". cute little bullet points of DVD lore πReleaseDate()β returns the release date.
and here's the lore, because this one has history: for historical reasons, this method used to return the theatrical release date. but as of version Net::Amazon 0.48, the release date is what's returned, and a separate theatrical_release_date() method is available. glow-up arc complete β¨π
new(xmlref => $xmlref)β initializes an object by passing a hash of hashes structure containing the XML data returned from the service. usually this is just used byNet::Amazoninternally to initialize objects for on backcoming data. so like, don't stress about calling it yourself, it's backend business π οΈ
and one more thing before you go β go check out Net::Amazon::Property for all the all-purpose accessors, like year, OurPrice, ListPrice, etc. the base class is holding it down, and this DVD class is just the sparkly younger sibling π
π AUTHOR π
Mike Schilli, <m@perlmeister.com>
the icon. the legend. the moment. we stan π
π COPYRIGHT AND LICENSE π
Copyright 2003 by Mike Schilli <m@perlmeister.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. free software rights, we love to see it π«Ά
and that's the whole page bestie, no cap. this was generated from perl v5.42.0, dated 2025-07-25 β so yeah, she's been around a minute, but she still ate and left no crumbs π β¨ mwah, see you in the next manpage π
π¦ where this page comes from
- fedora 43: perl-Net-Amazon 0.62-35.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms