Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^4: Strange behaviour of tr function in case the set1 is supplied by a variableby likbez (Sexton) |
on Nov 16, 2017 at 22:56 UTC ( [id://1203630]=note: print w/replies, xml ) | Need Help?? |
I am talking about adding a simple warning, if symbols "[" and "$" in tr set1 or set2 are not backlashed (backslashing them is allowed in current version of Perl; also there is no break of compatibility with the old code here).
That's around a dozen of lines of code in C-language. IMHO adding such a warning makes sense and this is a constructive suggestion, not blank critique of the language, as you assume. Your mileage may vary.
In Section
Seekers of Perl Wisdom
|
|