Mo::is(3)

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

✨ NAME ✨

Mo::is β€” bestie, it literally adds the is feature to Mo's has πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

use Mo qw'is';
has name => ( is => 'ro' );

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so Mo::is adds the is parameter to has, no cap. If you set it to ro, the accessor will only work as a getter β€” it's giving read-only main character energy πŸ‘‘.

But don't even worry, because you will still able to set the value at construction time via new. Periodt πŸ’–.


This lil icon lives in the User Contributed Perl Documentation section, it's Mo::is(3), and the footer energy is perl v5.42.0 from 2025-07-25. Slay, bye bestie 🫢✨

πŸ“¦ where this page comes from