Quote:
Originally Posted by
ongoto
The Linux game 'Frozen Bubbles' is written also with Perl. Lots of graphics and animation. Perl is not the dog to throw rocks at.
It uses several award-winning C libraries to do so, which work equally well in C, Perl, Python, Ruby, or dozens of other languages. Shell, admittedly, is not one of them.
Strip perl of its modules, and it's way worse at I/O than shell.
Quote:
But when it comes to gathering and reporting data, which is what the script in the first post is all about, or interfacing with humans, like the examples given above, I argue that Perl does it better (and faster) than any shell script could, at least any that I've ever seen.
I don't think you know a lot about shell
or perl, really. But we've gotten off topic.
My points:
1) It's possible to write bad code in any language.
2) Bad perl code is not better than good shell code.
Therefore:
Perl code is not automatically better than shell code, even for tasks you consider it "ideal" for.
(This is
not one of them, for reasons I've spent the last several pages explaining repeatedly.)
Quote:
Whether it will handle just about any kind of data you throw at it remains to be seen.
I thought you gave up that argument pages ago.
If you have any
specific concerns about his program, please name them and we will happily correct any errors. Otherwise please stop your baseless fearmongering. That you don't know the potholes to avoid doesn't mean we don't.
Blocking injection, and handling error conditions in general, has
always been the programmer's responsibility. If you think you can't exploit a perl script, you need to learn a lot more about programming in general.