MooseX...:Object(3pm)
π 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 byMooseX::GlobRef::Role::Object. it's only still here for backward compatibility reasons, like that one group chat nobody leaves. theMooseX::GlobRefpackage 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::GlobRefMoose::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
- fedora 43: perl-MooseX-GlobRef 0.0701-41.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