Schmorpforge Software Repository

PApp-SQL

Piratenpartei
Deliantra Free MMORPG
The free as in beer, liberal, code & content retro-style graphical MMORPG :)

PApp-SQL

Absolutely easy yet fast and powerful SQL access.

Blurb

This module wraps the DBI prepare/bind/execute calls into a single "sql_exec" call, complete with statement caching, so you get the efficiency of prepare, the safety of using placeholders and the speed of bound result values in a simple call. Example:

 my $st = sql_exec \my ($id, $name),
                   "select id, name from db where name like %",
                   "pfx%";
 while ($st->fetch) {
    print "$id $name\n";
 }
 

Resources

CVSBrowsable CVS module 'PApp-SQL'
CVSAnonymous CVS:  cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co PApp-SQL
CPANFile Releases (CPAN)
IRCServer irc.schmorp.de, channel #schmorpforge, user schmorp (say hi and wait a few minutes or hours)

Additional Documents

PODMain Manual Page