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

RFC: Databases made easy

by GrandFather (Cardinal)
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 cooling their heels in the Monastery: (10)
As of 2014-08-22 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (152 votes), past polls