Thanks to All !!
I've understand that is not correct to use the map function to count the
occurences of letter in a variable string:

$var = "Good morning";
my $var2 = $var =~ tr/o//;

is simple and elegant solution.

Bye & Thanks
Angelo


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • map angelo . bettati
    • Re: map Jonathan E. Paton
    • angelo . bettati

Reply via email to