I'm doing an Array that contents each word of a phrase. When I try to split it and print the length then the console gives me an enormous number such as 111039391231319239188238139123919232913123...
(more lines)
why?
Here's my code:
$mynames = $texto3;
print $mynames. "\n";
@nameList = split(' ', $texto3);
#print @nameList.length();
for ($to = 0; $to<@nameList.length; $to++){
if($to<@nameList.length) {
@nameList[$to] = @nameList[$to] . "_" . @nameList[$to++];
}
print $to;
#print @nameList[$to] . "\n";
}
$string_level2 = join(' ', @nameList);
#print $string_level2;