Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 lurking in the Monastery: (9)
As of 2014-08-29 00:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls