|There's more than one way to do things|
Re: Variables in Regular Expressions?by damian1301 (Curate)
|on Apr 25, 2001 at 23:37 UTC||Need Help??|
This is what I used, and yes it does work.
I didn't think you could transliterate on that so I tried it and then tried a substitution. To my avail, it worked.
Just so all these other monks that think a transliteration will work, this is what I got when I ran it as tr/$a/$b/;
Which, I doubt is what he wanted.
PS: May I ask what ~= is? I think you mean =~. :)
UPDATE: It seems that everyone likes to answer this in a minute's time. Chady and some other monk already beat me to it :)
Tiptoeing up to a Perl hacker.
Dave AKA damian