Next The Perl Hardware Store DC.pm Version 22

Adding a new Method to a Package

         sub DBI::db::myquery {
           my $dbh = shift;
           # Just stick the method here
           return @all_data;
         }
          @list_of_hashes = $dbh->myquery(...);

continued...


Next Copyright © 2003 M. J. Dominus