Net::Am...ty::DVD(3)

πŸ“¦
version 0.62 Β· 2 versions
, in fedora 43

πŸ’Ώ 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 a director() 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 method actors(). 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 by Net::Amazon internally 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 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