MooX::HasEnv(3)

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

πŸ’– MooX::HasEnv πŸ’–

okay so bestie, this is a page from the User Contributed Perl Documentation and it's literally called MooX::HasEnv β€” it's the whole vibe of making your Moo attributes come straight from your ENV variables. no cap. πŸ¦‹


✨ NAME ✨

MooX::HasEnv β€” Making attributes based on ENV variables πŸ’…


🌸 VERSION 🌸

version 0.004 ⭐


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the whole aesthetic, look:

package MyApp::Config;

use MooX::HasEnv; # also adds use Moo;

has_env var => MYAPP_VARIABLE => '0';
has_env var_name => 'MYAPP_VARIABLE_NAME'; # no default
has_env foo => undef, '2';

use Path::Class;

has_env root => MYAPP_ROOT => file(__FILE__)->parent->parent->parent->absolute."";

like… ate. that last one is giving main character energy fr fr πŸ”₯


πŸ’œ DESCRIPTION πŸ’œ

bestie this section is empty in the original. nothing here. a whole heading with no content, it's giving mysterious ✨ we simply respect the silence 🫢


🌈 SUPPORT 🌈

πŸ’¬ IRC

hop on in:

Join #web-simple on irc.perl.org. Highlight Getty for fast reaction :).

(highlight Getty if you want a speedy reply, that's the trick, iykyk 😌)

πŸ“¦ Repository

http://github.com/Getty/p5-moox-hasenv
Pull request and additional contributors are welcome

pull requests? additional contributors? yes please, the door is open, come through πŸšͺ✨

πŸ› Issue Tracker

http://github.com/Getty/p5-moox-hasenv/issues

found a bug? take it there, not to the group chat πŸ’€


πŸ‘‘ AUTHOR πŸ‘‘

Torsten Raudssus <torsten@raudss.us> β€” the icon who did that πŸ’–


This software is copyright (c) 2012 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


important reminder bestie: the license means free software, same terms as Perl 5 itself β€” don't be weird about it 🫢

and that's the whole page, no notes. πŸ’…

mwah πŸ’– this was MooX::HasEnv as documented for perl v5.42.0, dated 2025-07-25 β€” okay bye, go set some env vars, you're doing amazing sweetie πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from