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> 🫑


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