http://www.perlmonks.org?node_id=1203630


in reply to Re^3: Strange behaviour of tr function in case the set1 is supplied by a variable
in thread Strange behaviour of tr function in case the set1 is supplied by a variable

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.

  • Comment on Re^4: Strange behaviour of tr function in case the set1 is supplied by a variable