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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Sybperl 2.09 improvements....
Date: Oct 22 1997 9:38PM

stephen farrell wrote:
> 
> Michael Peppler  writes:
> 
> > I'm working on sybperl 2.09 which is to be a performance release.
> >
> > In particular I'm doing away with the tied hash (used with DO_TIE) and
> > with the internal hash that sybperl uses to store it's attributes, and
> > I'm adding the ability to return a reference to an array (as opposed
> > to the array itself) when retrieving data).
> >
> > So you'll be able to say:
> >
> >       $d = $dbh->ct_fetch;
> >       $var = $d->[0];
> >
> 
> Will this also support a hashed lookup, so one could do
> 
>         $var = $d->{column_name};

Yes of course. Returning associative arrays is one of the most
usefull features of perl :-)

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler