You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
177 B
Perl
4 lines
177 B
Perl
5 years ago
|
my $hashptr = { "Teacher"=>{"Subjects"=>[ qw(Science English)]},};
|
||
|
print $hashptr->{"Teacher"}->{"Subjects"}->[0],"\n";
|
||
|
print "@{$hashptr->{'Musician'}->{'Instruments'}}\n";
|