Data::...String(3pm)
β¨ NAME β¨
Data::Perl::String β a wrapping class for Perl scalar strings π (yes bestie, it's the 3pm one, User Contributed Perl Documentation, we love a debian-adjacent moment)
πΈ VERSION πΈ
version 0.002011
π SYNOPSIS π
okay so here's the vibe, literally just:
use Data::Perl qw/string/;
my $string = string("foo\n");
$string->chomp; # returns 1, $string == "foo"
look at her go π
chomp ate that newline right up and returned 1, and now $string is "foo". iconic behaviour tbh.
π¦ DESCRIPTION π¦
ngl this class is just a simple consumer of the Data::Perl::Role::String role β and that role is where literally all the functionality lives. this class is giving "I'm just here to support my friend" energy fr fr π«Ά
so like, you probably want to go look over there instead π that's the main character, this is the hype girl.
π AUTHOR π
Matthew Phillips <mattp@cpan.org> π«‘
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2020 by Matthew Phillips <mattp@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt π
no cap, that license clause is literally the whole thing β same terms as Perl 5, do what you want within those bounds, we're not out here inventing new rules π
and that's a wrap, bestie π this page was brought to you by perl v5.36.0, dated 2022-10-16, under the title Data::Perl::String(3pm) β slay, go forth and wrap your scalars πβ¨
π¦ where this page comes from
- ubuntu noble: libdata-perl-perl 0.002011-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdata-perl-perl 0.002011-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-perl-perl 0.002011-2 Β· 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