YVDHOVE::String - This Perl module provides "String" functions for the YVDHOVE framework
use YVDHOVE::String qw(:all); my $string = " \t Hello world! "; print trim($string) ."\n"; print ltrim($string)."\n"; print rtrim($string)."\n";
This Perl module provides "String" functions for the YVDHOVE framework
None by default.
trim function to remove whitespace from the start and end of the string
trim function to remove leading whitespace
trim function to remove trailing whitespace
See http://search.cpan.org/search?query=YVDHOVE&mode=all
Yves Van den Hove, <yvdhove@users.sourceforge.net>
See http://rt.cpan.org to report and view bugs.
Copyright (C) 2007 by Yves Van den Hove, <yvdhove@users.sourceforge.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.x or, at your option, any later version of Perl 5 you may have available.
To install YVDHOVE::String, copy and paste the appropriate command in to your terminal.
cpanm
cpanm YVDHOVE::String
CPAN shell
perl -MCPAN -e shell install YVDHOVE::String
For more information on module installation, please visit the detailed CPAN module installation guide.