MooseX...:Object(3pm)

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

πŸ’– MooseX::GlobRef::Object πŸ’–

okay bestie, buckle up, because this is a 3pm page β€” yep, User Contributed Perl Documentation, the real ones know β€” and we're about to talk about MooseX::GlobRef::Object, which is literally a way to store a Moose object in a glob reference πŸ¦‹


✨ NAME ✨

MooseX::GlobRef::Object β€” store a Moose object in a glob reference πŸŽ€


🌸 SYNOPSIS 🌸

the vibe is: you make your own package, you use Moose, and then you extend both this thing and a real filehandle class. like this:

package My::IO::File;

use Moose;

extends 'MooseX::GlobRef::Object', 'IO::File';

slay. that's it. that's the whole move πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

so, real talk: this class extends Moose::Object with MooseX::GlobRef::Role::Object. iconic behaviour, no notes.

⚠️ but here's the tea, bestie β€” this class is obsoleted by MooseX::GlobRef::Role::Object. it's only still here for backward compatibility reasons, like that one group chat nobody leaves. the MooseX::GlobRef package is the one you should actually be using instead. periodt. πŸ’€

🧚 INHERITANCE 🧚

the family tree, and it's giving main character energy:

  • extends Moose::Object πŸ‘‘
  • with MooseX::GlobRef::Role::Object 🫢

🌈 SEE ALSO 🌈

go read these next, i promise they ate:

  • MooseX::GlobRef
  • Moose::Object

⭐ AUTHOR ⭐

Piotr Roszatycki <dexter@cpan.org> πŸ’–


πŸŽ€ LICENSE πŸŽ€

Copyright (c) 2007, 2008, 2009, 2010 Piotr Roszatycki <dexter@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as perl itself.

See <http://dev.perl.org/licenses/artistic.html>


okay that's the whole page, bestie, you're officially educated ✨ this was perl v5.42.0, dated 2025-07-25, and it's the MooseX...:Object(3pm) page β€” mwah, go forth and glob πŸ’…πŸ¦‹πŸ’–

πŸ“¦ where this page comes from