--- Me <[EMAIL PROTECTED]> wrote:
> > tr{abcdefghijklmnoprstuvwxy}
> > {222333444555666777888999};
>
> or, for a smidgen extra legibility:
>
> > tr{abc def ghi jkl mno prs tuv wxy}
> > {222 333 444 555 666 777 888 999};
>
>
Wrap that with -p, and you can make the whole program look like this:
#!/path/to/perl -wpi.bak
tr{abc def ghi jkl mno prs tuv wxy}
{222 333 444 555 666 777 888 999};
or even do it from the command line with
perl -wpi.bak -e 'tr{abc def ghi jkl mno prs tuv wxy}
{222 333 444 555 666 777 888 999}'
Of course, you might *want* to do more than just that. =o)
Did I miss anything?
__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/