Could someone please help me translate this. All I can figure out for
sure are the first 2 lines. For a class assignment we need to: Read
the documentation on the Data::Dumper module (type 'perldoc
Data::Dumper' ). Use it to display the contents of your data
structure. Thanks in advance.
1 @c = ('c'); #make ordinary array with value c
2 $c = \@c; #make a reference to array c
3 $b = {}; #make an anonymous hash?
4 $a = [1, $b, $c];
5 $b->{a} = $a; #make hash key, a, variable a?
6 $b->{b} = $a->[1]; #make hash key, b, var a's 2nd element?
7 $b->{c} = $a->[2];
8 print Data::Dumper->Dump([$a,$b,$c], [qw(a b c)]);
*** Teresa Raymond
*** http://www.mariposanet.com
*** [EMAIL PROTECTED]