NetApp...:Option(3pm)

πŸ“¦
version 500.002 Β· 2 versions
  • 500.002 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 500.002 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NetApp::Filer::Option πŸ’–

okay bestie, welcome to the NetApp...:Option(3pm) page, straight outta the User Contributed Perl Documentation collection 🫢 this is a little Perl OO class and she is serving.


✨ NAME ✨

NetApp::Filer::Option β€” OO Class for representing NetApp Filer options πŸ‘‘

like, that's it, that's her whole job. she represents options. and she does it flawlessly, no cap πŸ’…


🌸 SYNOPSIS 🌸

here's the vibe, literally copy-paste coded exactly like this:

use NetApp::Filer;

my $filer = NetApp::Filer->new({ ... });

my @options         = $filer->get_options;

my $options         = $filer->get_option( $name );

$filer->set_option(
    name            => $name,
    value           => $value,
);

so you spin up a NetApp::Filer, grab all the options with get_options (plural, she's a list @options), grab one with get_option (singular, scalar $options, note the different sigil bestie, the vibes are DIFFERENT), and then you set_option with a name and a value and she's updated ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, real talk: this class exists to encapsulate the NetApp Filer options 🌈

that's the whole assignment. she's the little wrapper that holds your options so you don't have to rawdog the filer interface yourself. main character energy, honestly πŸŽ€


πŸŽ€ METHODS πŸŽ€

πŸ’œ get_name

Returns the name of the option.

she tells you what the option is called. that's her. that's the method. icon behaviour ⭐

πŸ’œ get_value

Returns the value for the option.

and she tells you what it's set to. the pairing, the duo, the way they match πŸ”₯


lowkey obsessed with how small this class is. two methods. no drama. ate and left no crumbs πŸ“

perl v5.36.0 Β· 2022-11-19 β€” that's the version and date this lil page was baked with, mwah, and that's a wrap bestie, go set some options πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from