Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Dereferencing and DBI methods

by Cirollo (Friar)
on Jul 25, 2001 at 01:18 UTC ( [id://99493]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @ary = @{$dbh->selectcol_arrayref($sql)};
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    # But this one dies!
    my @ary = @{$dbh->selectcol_arrayref($sql)} or die $dbh->errstr, $!;
    print for @ary;
    
  3. or download this
    No such file or directory at ./dbtest.pl line 17.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://99493]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-20 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found