String reviews

cpanratings
 

RSS | Module Info | Add a review of String

String (1.5) *

This module makes a close approximation of the JavaScript "String" object for Perl, offering functions like String.toUpperCase as a replacement for "uc":

my $x = new String("Perl");
$x->toUpperCase;

instead of

$x = "Perl";
uc $x;

Perhaps it's meant to be useful for a JavaScript programmer coming to Perl for the first time, or as part of a backend for some kind of automated JavaScript to Perl convertor, but the documentation doesn't mention why Perl needs this.