On Fri, Dec 02, 2005 at 06:14:18PM +0100, Sebastian Rother wrote:
> I scrited with pdksh all the time lon for now.
> Now I'm interested into learning another Scripting-Language.
>
> I can't decide between Perl and Python.
> Perl has a lot modules but it's GPLed.
> Python on the other hand is under a BSD-compatible License and has less
> modules.

http://www.perl.com/download.csp#srclic
It is NOT gpl'ed.

>
> I would like to know some "facts" why Perl is in the base system on a
> BSD even Python is a BSD-licensed alternativ. Does it have some
> advantages I don#t know?
>
> I read a lot papers about both languages. Also CS-related Papers but I
> can't decide.

I advice to try both, Python is nice in it's syntax and it's harder to
"misuse", I mean, there are a LOT of Perl programmers out there that do
theire best to make theire program unreadable, to say it softly.

The downside about Perl (in my opinion) is the whole "you can do it in
more than one way" and "you can do it on a single line" spirit.

>
> I would be happy if some developers would tell me why they prefere Perl.
> Even if the answer would be: It's more common or: It existed at first.
>

I use Perl because it's easier to get the hard things done. I also think
it has better documentation than Python does; probably because Python is
more OO minded than Perl and I don't like it to much, except for things
where it has it's use. On the other hand, I don't like the Perl way it
returns it's values from functions based on the "context" it's being
called and Python does better type checking.

> Kind regards,
> Sebastan
>
>

I advice to learn both, you can browse the Python tutorial in one day,
and Perl shouldn't be any harder if you learn it from the supplied
documentation 'perldoc perl' and 'perldoc perlintro' it a good start.

Kind regards,
Jimmy Scott

--
The Four Horsemen of the Apocalypse: Death, Famine, War, and SNMP

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to