good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Strange behaviour of tr function in case the set1 is supplied by a variableby ww (Archbishop) |
on Nov 16, 2017 at 03:16 UTC ( [id://1203548]=note: print w/replies, xml ) | Need Help?? |
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
|
|