Pod::W...UTOLOAD(3pm)

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

πŸ’– Pod::W...UTOLOAD πŸ’–

okay bestie so this is the Pod::W...UTOLOAD page from the User Contributed Perl Documentation collection, and no, that truncated name isn't a glitch, that's just how the man page header renders it πŸ’…


✨ NAME ✨

Pod::WSDL::AUTOLOAD β€” the base class for autoloading, and it is internal use only bestie, like don't come for it, it's not for you 🫢


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole vibe, look:

package Foo;
our @ISA = qw/Pod::WSDL::AUTOLOAD/;

sub new {
  my $pgk = shift;
  bless {
        _bar => 'blah',
  }, $pgk
}

package main;
use Foo;

my $foo = new Foo();
print $foo->bar;  # prints 'blah'

$foo->bar('bloerch');  # sets _bar to 'bloerch'

like… you inherit it, you bless a hash, and the accessors just manifest themselves ✨ iconic behavior honestly


🌸 DESCRIPTION 🌸

so this module is used internally by Pod::WSDL. it is unlikely that you have to interact directly with it, fr fr. the Pod::WSDL::AUTOLOADER is used as a base class and handels autoloading of accessor methods.

here's the tea β˜• β€” if there is a property called _foo in a hash based blessed reference, it will allow the use of the method 'foo' as a getter and setter.

  • as a getter, it returns the value of _foo
  • as a setter, it sets _foo with the argument and returns the object

you can exclude the accessor by using a hash %FORBIDDEN_METHODS in the derived class, like that:

our %FORBIDDEN_METHODS = (
      foo => {get => 1, set => 0},
      bar => {get => 0, set => 0}
);

in this example it will not be allowed to set _foo and to set or get _bar. if the user of the object tries to do so, it croaks πŸ˜­πŸ’€ no cap, it will simply perish.

but wait β€” from within the objects package, every accessor is allowed πŸ‘‘ so the object is only strict with outsiders, classic main character energy

πŸ¦‹ METHODS πŸ¦‹

[none]

that's it. that's the whole list. nothing. zero. the void. πŸ’€ (love that for her honestly)


🌈 EXTERNAL DEPENDENCIES 🌈

Carp;

πŸ“ EXAMPLES πŸ“

see Pod::WSDL ✨


πŸ’… BUGS πŸ’…

see Pod::WSDL 😭


🧚 TODO 🧚

see Pod::WSDL πŸ™ˆ


⭐ SEE ALSO ⭐

Pod::WSDL :-)

look at the little smiley. she's cute. she's the whole point. πŸ₯Ή


πŸ‘‘ AUTHOR πŸ‘‘

Tarek Ahmed, <bloerch -the character every email address contains- oelbsk.org>


Copyright (C) 2006 by Tarek Ahmed

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.


okay and that's the page bestie, generated by perl v5.34.0 on 2022-06-16 β€” the man page header literally abbreviates the title to Pod::W...UTOLOAD(3pm) and honestly? she ate that. slay, stay autoloaded, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from