SPVM::B...::String(3)
πΈ Name πΈ
Okay bestie, welcome to the SPVM::BlessedObject::String manual page β also filed under SPVM::B...::String(3) π
This one is all about an SPVM string. periodt β¨
π¦ Description π¦
The object of the SPVM::BlessedObject::String class holds an SPVM string. That's the whole vibe: it's an object, and inside it is an SPVM string π
β¨ Usage β¨
Here's the group-chat cheat sheet:
my $string = $blessed_object_string->to_string;
my $binary = $blessed_object_string->to_bin;
π Instance Methods π
π to_string π
my $string = $blessed_object_string->to_string;
Returns a string decoded to a Perl string using utf8::decode (the utf8 Perl doc on metacpan: https://metacpan.org/pod/utf8). If the decoding fails, an exception is thrown β like, it will not silently ghost you, bestie ππ₯
π§ to_bin π§
my $binary = $blessed_object_string->to_bin;
Returns a string as a binary. Slay, bytes behavior π
π Operators π
Overloads the following operators β iconic behavior, no cap π
β bool β
my $bool = !!$blessed_object_string;
Always true. Yup, always. The bool check is never gonna give you a false, bestie π
π¦ stringify π¦
my $string = "$blessed_object_string";
The alias for to_string. Same energy, different entrance β¨
π Copyright & License π
Copyright (c) 2023 Yuki Kimoto
MIT License
mwah π that's the whole page! cooked with perl v5.42.2, dated 2026-02-03, and filed under SPVM::B...::String(3). bye bestie, go slay those SPVM strings π«Άβ¨
π¦ where this page comes from
- alpine 3.24: spvm-doc 0.990125-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms