LWN.net Logo

What is to replace Perl then?

What is to replace Perl then?

Posted Dec 3, 2008 23:00 UTC (Wed) by sbergman27 (guest, #10767)
In reply to: What is to replace Perl then? by jwb
Parent article: On the future of Perl 5

"""
You can do anything you want in python, except the incredibly simple things like parsing URLs.
"""

Ummm... import urlparse and/or urllib? Which have been in the standard library for, oh... years and years? Unless you think those should be builtins?

"""
And the last time I tried to use the python postgresql interface, it was popen()ing psql behind the scenes.
"""

Please show me where this was ever true, if it was ever true, and when. IIRC, historically, there have been pgSQL, psycopg, and psycopg2 modules. Giving you the benefit of the doubt for the time being, *maybe* one of the early ones did that sometime back in the 90s or something. I've certainly never heard of it.

But based upon the level of disinformation I see in your post, it just looks to me like a Perl programmer feeling threatened.


(Log in to post comments)

What is to replace Perl then?

Posted Dec 4, 2008 11:42 UTC (Thu) by niner (subscriber, #26151) [Link]

> Ummm... import urlparse and/or urllib?
> there have been pgSQL, psycopg, and psycopg2 modules

And they say that Perl is bad for there being more than one way to do something.
And still, Perl with it's DBI is the only of the P-scripting languages where essential things
like database access is simple and straight forward.

What is to replace Perl then?

Posted Dec 4, 2008 17:58 UTC (Thu) by dlang (✭ supporter ✭, #313) [Link]

to be fair there are sometimes alternate database packages for perl, the DBI/DBM arrangement works well for many things, but it's a 'least common denominator' type of interface.

for postgres there is the Pg.pm module as well as the DBI interface.

What is to replace Perl then?

Posted Dec 4, 2008 23:07 UTC (Thu) by niner (subscriber, #26151) [Link]

Fair? The last version of Pg.pm is from April 2000, 8 1/2 years ago.

Honestly, who would be tempted by this ancient module?

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds