Help for this page

Select Code to Download


  1. or download this
    my @classrooms;
    my %classroom = 
    ...
      studentID=>   '$',
      age=>  '$',
    );
    
  2. or download this
        my $student = ( studentName => 'John', studentSurname=>'Something'
    +,  studentID=>'9534', age=>'12' );
        my $student = ( studentName => 'Mary' ,studentSurname=>'Something2
    +',  studentID=>'5489', age=>'13' );
        my %classroom = (classroomID => 10, classroomName=>'classroom1');
    
  3. or download this
     $classrooms[0]->students[0]->studentName