When I do this:

#!/usr/bin/perl -w
use strict;
use Data::Dumper;
my $grades = {"tom"=> 50, "sally"=> 60, "harry" => 70};
print Dumper($grades) ;


And perl gives me this:

$VAR1 = {
          'harry' => 70,
          'sally' => 60,
          'tom' => 50
        };


QUESTION: Does this mean that $grades is an anonymous reference
because perl gives is $VAR1?

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to