By “more sophisticated I/O,” I mean things like: read and write files anywhere from a byte at a time to a whole file at a time, do buffered C-like stuff (getc, ungetc), read and write directly with compressed output, get and set tty attributes, do graphics, and so on.

 

Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com

Upcoming events:
- Performance Diagnosis 101: 12/16 Detroit, 1/27 Atlanta
- SQL Optimization 101: 12/8 Dallas, 2/16 Dallas
- Hotsos Symposium 2004: March 7–10 Dallas
- Visit www.hotsos.com for schedule details...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, December 08, 2003 7:09 AM
To: Multiple recipients of list ORACLE-L
Subject: Re: RE: PERL?

 

You’ll get much more comprehensive answers than mine, but a few huge motives for me are…

 

-          You can’t do I/O—especially sophisticated interactive I/O—conveniently in SQL*Plus or PL/SQL.

-          More generally, SQL restricts your viewpoint to what’s inside the database. As a performance analyst, I need a language in which I can do text processing, mathematical processing, and especially experiments with the same OS calls that Oracle uses. You can even attach directly to the Oracle SGA with Perl, where you can get x$ information without using SQL. (I don’t do it, but it can be done.)

-          Perl regular _expression_ processing is spectacular compared to anything else out there; this is critical for text processing (lexical analysis and parsing).

-          Perl is more portable, more easily extensible, and better supported with lots of interesting open source libraries than Unix shells.

 

Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com

Upcoming events:
- Performance Diagnosis 101: 12/16 Detroit, 1/27 Atlanta
- SQL Optimization 101: 12/8 Dallas, 2/16 Dallas
- Hotsos Symposium 2004: March 7–10 Dallas
- Visit www.hotsos.com for schedule details...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of KENNETH JANUSZ
Sent: Sunday, December 07, 2003 9:34 PM
To: Multiple recipients of list ORACLE-L
Subject: PERL?

 

I've read a lot about PERL on this list.  And, I am wondering what can you do with PERL that you cannot do with SQL*Plus, PL/SQL or Unix shell scripts? 

 

Any information will be greatly appreciated.

 

Thanks much,

Ken Janusz, CPIM

Reply via email to