String::Trim trims whitespace off your strings. chomp trims only $/

(typically, that's newline), but trim will trim all leading and
trailing whitespace.

WWW: http://search.cpan.org/dist/String-Trim/
This commit is contained in:
Jun Kuriyama 2015-08-23 22:27:06 +00:00
parent 10590a85c8
commit fe6509c889
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395138
5 changed files with 29 additions and 0 deletions

View File

@ -772,6 +772,7 @@
SUBDIR += p5-String-Strip
SUBDIR += p5-String-ToIdentifier-EN
SUBDIR += p5-String-Tokenizer
SUBDIR += p5-String-Trim
SUBDIR += p5-String-Truncate
SUBDIR += p5-String-Urandom
SUBDIR += p5-String-Util

View File

@ -0,0 +1,19 @@
# $FreeBSD$
PORTNAME= String-Trim
PORTVERSION= 0.005
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension to trim whitespace from your strings
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
NO_ARCH= YES
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (String-Trim-0.005.tar.gz) = b169e20b02476f308fec0425c75077fd6a851f578b4ea3703e6220659d73b31f
SIZE (String-Trim-0.005.tar.gz) = 13956

View File

@ -0,0 +1,5 @@
String::Trim trims whitespace off your strings. chomp trims only $/
(typically, that's newline), but trim will trim all leading and
trailing whitespace.
WWW: http://search.cpan.org/dist/String-Trim/

View File

@ -0,0 +1,2 @@
%%PERL5_MAN3%%/String::Trim.3.gz
%%SITE_PERL%%/String/Trim.pm