Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: :) What you can't do in java you can do in perl
Steve,
I'm with you (thought I'd jump on your side before the perl sheep all
gang up on ya).
Now, if you're a dba, which I'm sure most of the listers are (I pity
you), then by all means, use
perl (have fun).
But, for us developers, well, python is just... Better. Period.
You can really do some nice things like OO programing ,functional
programming,
pass functions as parameters to other functions, etc... Cool stuff.=20
For a developer, if you needed scripting done, shell+sed+awk was
great.
C is beautiful for systems programming. Java is cool for web apps.
Python for everything else
(and for taking over your old shell/sed/awk stuff). Perl, has it's
place in DBA land and should stay there.
That's not to say Perl isn't a great tool, it is, but, we have your toys and you have yours.
Anthony Molinaro
DB developer, OCP 8,8i,9i (so I can argue with dba's),
python-protagonist, hater of the NATURAL JOIN syntax=20
-----Original Message-----
From: Orr, Steve [mailto:sorr_at_rightnow.com]=20
Sent: Wednesday, September 29, 2004 5:07 PM
To: jkstill_at_gmail.com
Cc: oracle-l_at_freelists.org
Subject: RE: :) What you can't do in java you can do in perl
> DBI is the best open source database interface available.
Having done both Perl and Python I'll concede that DBI DBD::Oracle is
superior. But the Python equivalent has been good enough for my
purposes. Attesting to Python's glue-between-systems-and-software
capabilities (like Perl), someone has developed a Python interface to
DBI. It doesn't seem to be used much in the Python community and it
seemed too weird so I never looked into it.=3D20
Steve Orr
Certifiable, former Perl dude, burgeoning Pythonista, Perlmonger
executioner :-)
Btw, I've used and even developed my own HTTP web servers in Python. (I demo'd it in my IOUG presentation.) Where can I find such a thing in Perl?
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jared Still
Sent: Wednesday, September 29, 2004 1:17 PM
To: Orr, Steve
Cc: ryan_gaffuri_at_comcast.net; breitliw_at_centrexcc.com;
oracle-l_at_freelists.org
Subject: Re: :) What you can't do in java you can do in perl
On Wed, 29 Sep 2004 12:53:50 -0600, Orr, Steve <sorr_at_rightnow.com>
wrote:
> Avoid CGI if performance is an issue. You can get some really =
good=3D20=20
> performance with mod_python (or mod_perl). I did a benchmark test with
> mod_python with connection pooling where I could re-use parsed =
SQL=3D20
>with bind variables and I got an orders of magnitude boost in=3D20 =20
>performance. =3D20
I've been tempted to try Python, but have had no compelling reason.
If there was anything to compete with Tim Bunce's DBI and DBD::Oracle modules, I would give it a try. But there isn't. DBI is the best open source database interface available.
--=3D20
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Wed Sep 29 2004 - 16:27:54 CDT
![]() |
![]() |