Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

RFC: Databases made easy

by GrandFather (Sage)
on Mar 20, 2011 at 04:20 UTC ( #894254=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        $dbh->rollback ();
        die $@;
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    };
    
    print "Added $entries rows to the People table\n";
    
  3. or download this
    $entries = $sth->execute_array ({}, [keys %people], [values %people]);
    
  4. or download this
    #1
    my $sql = qq{SELECT name, age FROM People WHERE name LIKE '%e' AND age
    + < 25};
    ...
            printf "%-10s %3d\n", @{$row}{'name', 'age'};
        }
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://894254]
Approved by Corion
Front-paged by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-07-05 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls