Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • managing your sql (Score:3, Informative)

    by TeeJay (2309) on 2003.03.17 13:04 (#17990) Homepage Journal
    You want some kind abstraction you do :)

    Have you tried Class::Phrasebook ?

    We have started using it here for our SQL and it has made life a bit easier.

    Our SQL is slowly leaving cgi scripts and getting buried deeper into our module library, which makes for a much easier life.

    This is one of the reasons I really want CPD (copy and paste detector) for perl - many SQL queries at cgi script level can be munged down into a single function in a module somewhere or even stashed into a dictionary of queries somewhere.

    --

    @JAPH = qw(Hacker Perl Another Just);
    print reverse @JAPH;