JE::Undefined(3pm)
β¨ JE::Undefined β¨
okay bestie, welcome to the little manpage for JE::Undefined β that's the User Contributed Perl Documentation version, the one you're reading rn on JE::Undefined(3pm). it's a whole class for the JavaScript undefined value and honestly? it's giving minimalism π
π¦ NAME π¦
JE::Undefined β the JavaScript undefined value, bestie. that's it. that's the whole vibe.
πΈ SYNOPSIS πΈ
here's how you actually touch the thing, no cap:
use JE;
$j = new JE;
$js_undefined = $j->undef;
$js_undefined->value; # undef
so you use JE, you make a new JE, you grab $j->undef, and then $js_undefined->value hands you back a good old Perl undef. iconic. π₯
π DESCRIPTION π
okay so this class implements the JavaScript undefined type. and likeβ¦ there really isn't much to it. that's not me being shady, that's literally what the docs say π it's a whole class doing the absolute least and we respect it for that.
here's the tea though, the two facts you actually need:
- Undefined stringifies to
'undefined'. so when you ask it to be a string, it says'undefined'. slay. - Undefined is false as a boolean. so in a truthy/falsy vibe check, it does not pass. it's falsy. periodt.
that's the entire personality. tiny, but valid. π«Ά
π SEE ALSO π
go read these too, they're the friend group:
JE::TypesJE::NullJE
and that's a wrap, my love π this page came from perl v5.36.0, dated 2023-08-25, and yes the title up top really does say JE::Undefined(3pm). go forth and be falsy β¨π§
π¦ where this page comes from
- debian trixie: libje-perl 0.066-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libje-perl 0.066-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libje-perl 0.066-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libje-perl 0.066-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms