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

Re: How to add MySql Records To Array or Hash?

by trippledubs (Deacon)
on Sep 09, 2013 at 18:50 UTC ( [id://1053072]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use strict;
    ...
    
    
    my $results = $sth->fetchall_arrayref({});
    
  2. or download this
    $results->[0]; // Reference to a hash ref of Row_1
    my %row_1 = %{$results->[0]}; // Hash of Row 1
    ...
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-03-28 18:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found