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:
parent
10590a85c8
commit
fe6509c889
@ -772,6 +772,7 @@
|
|||||||
SUBDIR += p5-String-Strip
|
SUBDIR += p5-String-Strip
|
||||||
SUBDIR += p5-String-ToIdentifier-EN
|
SUBDIR += p5-String-ToIdentifier-EN
|
||||||
SUBDIR += p5-String-Tokenizer
|
SUBDIR += p5-String-Tokenizer
|
||||||
|
SUBDIR += p5-String-Trim
|
||||||
SUBDIR += p5-String-Truncate
|
SUBDIR += p5-String-Truncate
|
||||||
SUBDIR += p5-String-Urandom
|
SUBDIR += p5-String-Urandom
|
||||||
SUBDIR += p5-String-Util
|
SUBDIR += p5-String-Util
|
||||||
|
|||||||
19
textproc/p5-String-Trim/Makefile
Normal file
19
textproc/p5-String-Trim/Makefile
Normal 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>
|
||||||
2
textproc/p5-String-Trim/distinfo
Normal file
2
textproc/p5-String-Trim/distinfo
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SHA256 (String-Trim-0.005.tar.gz) = b169e20b02476f308fec0425c75077fd6a851f578b4ea3703e6220659d73b31f
|
||||||
|
SIZE (String-Trim-0.005.tar.gz) = 13956
|
||||||
5
textproc/p5-String-Trim/pkg-descr
Normal file
5
textproc/p5-String-Trim/pkg-descr
Normal 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/
|
||||||
2
textproc/p5-String-Trim/pkg-plist
Normal file
2
textproc/p5-String-Trim/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
%%PERL5_MAN3%%/String::Trim.3.gz
|
||||||
|
%%SITE_PERL%%/String/Trim.pm
|
||||||
Loading…
x
Reference in New Issue
Block a user