Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks,
I just started to read about sybperl. I feel that it became out of date ? Is that is true ? I searched to install sybase in Ubuntu 9.10, but found that i cannot do so ? Am i right ?
I did some googling, and found this website which is about sybperl: http://www.peppler.org/ , seems old. Gone through the ref
erences given there anyway.
Can somebody elaborate me on this ? Does still sybase database is used, and sybperl ?! Awaiting for your valuable response.
Re: what is the state of sybperl ?
by tilly (Archbishop) on Aug 04, 2010 at 18:42 UTC
|
Yes, sybperl is at least a decade out of date. The database standard in Perl is DBI, and DBD::Sybase is the database driver for Sybase. | [reply] [Watch: Dir/Any] |
Re: what is the state of sybperl ?
by derby (Abbot) on Aug 05, 2010 at 10:19 UTC
|
As tilly said, sybperl is way out of date; however, it sounds like you're confusing a database server (Sybase) with the client libraries that are used to connect to a server. DBD::Sybase is the preferred method for connecting a Sybase server and Michael Peppler (mpeppler here) is *the* perl/sybase guy.
In Ubuntu, you should be able to install the DBD::Sybase driver ... for me, it's named
"Sybase/MSSQL database driver for the DBI module" -- that being said, you're still going to need a Sybase server to connect to.
| [reply] [Watch: Dir/Any] |
Re: what is the state of sybperl ?
by mpeppler (Vicar) on Aug 15, 2010 at 07:29 UTC
|
Welllllll.... The sybperl package isn't out of date (in fact a new version was released a month or so ago).
However, I agree that today you should probably use DBI/DBD::Sybase in any new projects as that gives you a cleaner API, and a reasonably consistent way of doing database access with Sybase ASE, Oracle, DB2, etc.
Michael
PS - In case there's any confusion - sybperl is the collective name for the Sybase:: modules (Sybase::CTlib, Sybase::DBlib) which implement the Sybase OpenClient API in perl. The name comes from the original perl 3.x "usersub" module that I wrote back in 1990 (yikes!) and which was first released publicly in September 1991...
| [reply] [Watch: Dir/Any] |
|