in reply to MySQL basics

Just a few minor tips, from someone who picked up DBI and MySQL earlier this year and is starting to get comfortable with it...


$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/

Replies are listed 'Best First'.
Re: Re: MySQL basics
by tzz (Monk) on Sep 10, 2003 at 13:43 UTC
    jonadab, it sounds like you really need to look into Class::DBI or some other interface to the DBI. Your first two items and the last one are managed by Class::DBI automatically.

    As for the third suggestion, RDBMS table design is not all about auto incremented numeric primary keys. There are many cases where a string works better as the primary key, for instance. I would suggest a good RDBMS tutorial, but I haven't found any good ones :)

    Ted