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


in reply to New to PERL but how is this better than DOS?

I'm assuming you mean batch files?

Scripting languages such as a batch files serve a different purpose than programming languages. You can't compare a particular scripting language to a particular programming language. Inevitably, the difference you'd find would be the differences between all scripting languages and all programming languages.

By the way, as for as batch files go, they're a very weak and poor scripting language. bash script can accomplish more with much less difficulty. I remember using the date command and a dynamically generated batch file to input text from the user into a variable. How silly is that? We have set /p now, but that's just one example.