in reply to Counting number of characters in a string
$str =~ s/./\n/g;
local $/ = "";
$len = chomp($str);
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (297 votes). Check out past polls.