PHP::StringsPHP::Strings is a Perl module to implement some of PHP's string functions. | |
Download |
PHP::Strings Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Iain Truskett and Petras Kudaras
- Publisher web site:
- http://search.cpan.org/~kudarasp/PHP-Strings-0.28/Strings.pm
PHP::Strings Tags
PHP::Strings Description
PHP::Strings is a Perl module to implement some of PHP's string functions. PHP::Strings is a Perl module to implement some of PHP's string functions.SYNOPSIS use PHP::Strings; my $slashed = addcslashes( $not_escaped, $charlist ); my $wordcount = str_word_count( $string ); my @words = str_word_count( $string, 1 ); my %positions = str_word_count( $string, 2 ); my $clean = strip_tags( $html, '' ); my $unslashed = stripcslashes( 'abfnrxae' );PHP has many functions. This is one of the main problems with PHP.People do, however, get used to said functions and when they come to a better designed language they get lost because they have to implement some of these somewhat vapid functions themselves.So I wrote PHP::Strings. It implements most of the strings functions of PHP. Those it doesn't implement it describes how to do in native Perl.Any function that would be silly to implement has not been and has been marked as such in this documentation. They will still be exportable, but if you attempt to use said function you will get an error telling you to read these docs. Requirements: · Perl
PHP::Strings Related Software