March 2002 Perl Hardware Store 18

3. Adding a new Method to a Package

         sub Msql::myquery {
           my $dbh = shift;
           # Just stick the method here, dummy.
         }
          @list_of_hashes = $dbh->myquery(...);


Next Copyright © 2002 M-J. Dominus