Help for this page

Select Code to Download


  1. or download this
    package Student;
    sub new { # Constructor
    ...
    }
    
    1;
    
  2. or download this
    #!/usr/bin/perl -w
    use lib("lib");
    ...
    
    print "\nThe major for ", $ptr1->get("Name"), 
             " is ", $ptr1->get("Major"), ".\n\n";