PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Sabherwal, Balvinder (MBS)" <Balvinder dot Sabherwal at mortgagefamily dot com>
Subject: RE: Sybperl Vs Shell Scripts
Date: May 7 2002 7:15PM

-----Original Message-----
From: Michael Peppler [mailto:mpeppler@peppler.org]
Sent: Thursday, March 28, 2002 10:03 AM
To: SybPerl Discussion List
Subject: Re: Sybperl Vs Shell Scripts


Sabherwal, Balvinder (MBS) writes:
 > I am looking for some inputs from you in order to present some facts
about
 > the capabilities of sybperl which are lacking in shell scripts and also I
 > need to make a compelling argument to use perl instead of shell scripts.
 > 
 > Can anyone help me get this info or point me to some place where I cam
find
 > some info so I can get some information. The questions I am looking to
get
 > answered are :
 > 
 > Why should we use perl instead of shell scripts??
 > What features perl/sybperl offers that are not in shell scripts?
 > How is perl beneficial as compared to shell scripts??

>>> perl scripts are much faster than shell scripts.

How ??

>>>perl scripts allow much better error control and recovery.
>>>sybperl (vs. isql in shell script) is *much* faster, *much* better
>>>error control, greatly expanded usage flexibility.

In what terms is sybperl faster than the isql in shell scripts??

>>>perl scripts can use eval {} to catch fatal errors in deeply nested
>>>code and cleanly restart/retry/abort in case of errors.

How is this different than trap in shell scripts??