Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    require "cfg.pl";
    ...
        no warnings 'once';
        $db = new DB($CFG::SERVER, $CFG::DB, $CFG::USER, $CFG::DBPASSWD)
    };
    
  2. or download this
    use strict;
    use warnings;
    use Cfg;
    use Db;
    
    my $db = new DB($CFG::SERVER, $CFG::DB, $CFG::USER, $CFG::DBPASSWD);