Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Printing Tables...

by Mr. Muskrat (Canon)
on Mar 06, 2003 at 22:25 UTC ( [id://241019]=note: print w/replies, xml ) Need Help??


in reply to Printing Tables...

I think that this code will help. (Provided I read your post correctly.)
my $sth = $dbh->prepare($sql); if (!$sth) { die "sth error:" . $dbh->errstr . "\n"; } if (!$sth->execute) { die "sth execute error:" . $sth->errstr . "\n"; } my $names = $sth->{'NAME'}; # the info you seek foreach my $name (@{$names}) { # do something with the name }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found