Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: How to store the data fetched from the database in perl

by frozenwithjoy (Curate)
on Jun 11, 2013 at 06:51 UTC ( #1038202=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to store the data fetched from the database in perl
in thread How to store the data fetched from the database in perl

I haven't used this module before, so am not totally familiar with this method, but does this work?

my %data; while ( my $result = $sth->fetchrow() ) { $data{$result} = 1; }


Comment on Re^3: How to store the data fetched from the database in perl
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-09-22 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (182 votes), past polls