4 ms·
I used to think that was pretty cool, until I realized it was probably developed well after Haskell. :) It can be of help if you're passing a lot of input to sy
by joeyh 15y ago
I used to think that was pretty cool, until I realized it was probably developed well after Haskell. :) It can be of help if you're passing a lot of input to system() etc; it's not really general enough to help with web programming.
I gave up on perl's taint mode when I discovered this bug http://bugs.debian.org/411786 http://bugs.debian.org/411786 , in which perl randomly sets the taint flag due to a utf8 bug.
- wazoox 15y agoWell, it's a bug. It's not supposed to happen, and AFAIK it occurs only for some (one?) specific version...
- JadeNB 15y agoAccording to Wikipedia, Haskell 1.0 was defined in 1990 (http://en.wikipedia.org/wiki/Haskell_%28programming_language%29#History http://en.wikipedia.org/wiki/Haskell_%28programming_language...), but Perl has had taint mode since v3 in 1989 (http://en.wikipedia.org/wiki/Taint_checking#History http://en.wikipedia.org/wiki/Taint_checking#History). Anyway, I'm not sure why it would be less cool even if it were inspired by another language (which I'm sure it was; Perl, like English, elevates borrowing to an art form).