JE::Ob...String(3pm)
π JE::Object::String β the manual, but make it cute π
okay so bestie, welcome to the manual page for JE::Object::String(3pm) β straight out of the User Contributed Perl Documentation collection, and honestly? it's giving niche-but-essential. π
β¨ NAME β¨
JE::Object::String β the JavaScript String object class. π¦
πΈ SYNOPSIS πΈ
here's the whole vibe in code, no cap:
use JE;
use JE::Object::String;
$j = new JE;
$js_str_obj = new JE::Object::String $j, "etetfyoyfoht";
$perl_str = $js_str_obj->value;
like, you make a JE, you make a String object with it, you pull the value back out. iconic behaviour honestly. β¨
π DESCRIPTION π
so here's the tea: this class implements JavaScript String objects for JE.
and the thing you HAVE to understand, bestie, is the difference between this and JE::String: JE::String is the module that implements the primitive string value, while this module β JE::Object::String β implements the objects. π€ two different things, two different modules, do not confuse them, iykyk. π«Ά
β METHODS β
okay so for most of the methods, go read JE::Types β it's got the descriptions. here we're only talking about the stuff that's specific to JE::Object::String, k?
valueβ returns a Perl scalar. that's it, that's the whole thing. πvalue16β returns a Perl scalar holding a UTF-16 string β meaning if the string has chars outside the BMP, it's got surrogate pairs, fr fr. this one's here more for internal usage than anything else, so don't get too attached. π
π SEE ALSO π
go peek at these too, they're all part of the same little family:
JEJE::TypesJE::StringJE::Object
and that's the whole page, bestie!! slay. π β¨
this was served up courtesy of perl v5.36.0, dated 2023-08-25 β periodt. ππ¦π
π¦ 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