On Jun 11, Gary Luther said:
> 5 $new_name =~ tr/ \/&-/_sad/;
Why not use tr!!! instead of tr///? It'll read more easily. Or even:
tr{ /&-}
{_sad};
> 5 $new_name =~ tr/ \/&-<>/_sadlg/;
You didn't read the docs on tr///. The - character serves as a character
range genera
Okay guys & gals..sorry to ask simple minded
questions..they must fit my personality :-(
I want to do a simple transliteration.
THE STRING:
$new_name='NEW & RE-PORT V/3 TO TEST.11Jun01149232.test';
THIS WORKS:
1 #!/usr/local/bin/perl
-w 2 3
$new_name='N