|Problems? Is your data what you think it is?|
selectall_hashrefby mnlight (Scribe)
|on Jan 04, 2006 at 22:42 UTC||Need Help??|
mnlight has asked for the
wisdom of the Perl Monks concerning the following question:
I came across the selectall_hashref by way of some advice I recieved on a previous post.
It looks like something that might work for a script I am writing.
I am trying to test it and learn exactly how it works.
I wrote this code
I get this error.
DBI::st=HASH(0x1027b0)->_prepare(...): attribute parameter '1' is not a hash ref at /nms/site/perl-5.6.0/lib/site_perl/5.6.0/sun4-solaris/DBD/Sybase.pm line 95.
The document I read said that the second parameter is "the column to use as key, indicated by position".
I want Col1 to be the key.