Thanks. That clarifies A LOT. -----Original Message----- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 08, 2001 8:40 AM To: 'Balint, Jess'; '[EMAIL PROTECTED]' Subject: RE: Problems Retrieving DBI Attributes
> -----Original Message----- > From: Balint, Jess [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 07, 2001 7:28 PM > To: '[EMAIL PROTECTED]' > Subject: Problems Retrieving DBI Attributes > > > I am trying to use the NAME attribute of a statement handle. I have > something like: > > @fields = $sth::NAME; You're not getting errors because $sth::NAME is legal syntax. It refers to a scalar called $NAME in the package 'sth'. 'use strict' won't complain about this, because you have qualified the variable with a package name. 'use warnings' would give you the warning: Name "sth::NAME" used only once: possible typo at ... The correct form is: @fields = @{$sth->{NAME}}; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]