in reply to Strange behaviour of tr function in case the set1 is supplied by a variable
Same results in AS 5.24 under Win7x64.
Suspected problem might have arisen from lack of strict, warnings. Wrong, same results BUT using both remains a generally good idea.
Also wondered if compiling (with qr/.../) might change the outcome. Wrong again, albeit with variant (erroneous) output.
Correct me if I'm wrong, guessing that "strait" is a typo or personal shortening of "straight."
Update: Now that I've seen earlier replies... ouch, pounding forehead into brick wall!
If I've misconstrued your question or the logic needed to answer it, I offer my apologies to all those electrons which were inconvenienced by the creation of this post.
|
---|
In Section
Seekers of Perl Wisdom