1Data::Perl::String(3) User Contributed Perl DocumentationData::Perl::String(3)
2
3
4
6 Data::Perl::String - Wrapping class for Perl scalar strings.
7
9 version 0.002011
10
12 use Data::Perl qw/string/;
13
14 my $string = string("foo\n");
15
16 $string->chomp; # returns 1, $string == "foo"
17
19 This class is a simple consumer of the Data::Perl::Role::String role,
20 which provides all functionality. You probably want to look there
21 instead.
22
24 Matthew Phillips <mattp@cpan.org>
25
27 This software is copyright (c) 2020 by Matthew Phillips
28 <mattp@cpan.org>.
29
30 This is free software; you can redistribute it and/or modify it under
31 the same terms as the Perl 5 programming language system itself.
32
33
34
35perl v5.34.0 2021-07-22 Data::Perl::String(3)