I deal with both .. being PERL mostly since 90s as it came very very earlier..
IMHO - there is not a chance in hell to compare PERL with Python.
PERL has probably an order of magnitude better and safer code (
www.cpan.org)
Integrated very close to UNIX being POSIX compliant ...
And a hell order of magnitude better organized.
Streams PIPES and sockets are just native as in any shell.
On the other hand it takes a pretty long time to master..
And all goodies are there.. bindings to all toolkits.. Gtk,Qt/Wx Curses..
Python may be "easy" for shallow programmers.
But the lack of closures...
The odd dependency of spaces and a pretty much pathetic organized library set...
result in a messy deploy usage base where a simple "version" mismatch throw a dependency exception
Never happens that in PERL.
You can upgrade the site and things keep running .. sometimes a minor glitch.
Tried to upgrade python several times.. 90% times it fails
Requiring FULL SITE ditch and re install..
Messy pretty thing.
Never wasted more time on that.. although a lot of people like this...
usually they came from windoossss non POSIX messy rolling rocks...
Paul