Quote (Qord @ Dec 10 2014 03:53pm)
There both great for anything that needs to be automated. I wouldn't suggest trying to write an os with them, but for smaller scripts they're great. Both are cross platform which makes them both very popular in the enterprise environment.
For a use example, if I wanted to write something that would parse through hr paperwork and create new user accounts,I would use Perl. If I need to write something to make changes to 50 router configurations, I'd use python.
You would probably want to use Python for both, there's no reason to use Perl unless you hate your life.