Help for this page

Select Code to Download


  1. or download this
    my static $dbh
    
  2. or download this
    >
    my $ex1 = new DataSomething();
    my $ex2 = new DataSomething();
    ...
    
    $ex1->get_data();  # this would initialize the db and get the data
    $ex2->get_data();  # this would use the already initialized db