Two small mistakes:

"Zeus Odin" <[EMAIL PROTECTED]> wrote in message ...

> $ perl -mstrict -MData::Dumper -we "my $; print Dumper $s;"
                                        ^^^
                                         $s
> $VAR1 = undef;

> $ perl -mstrict -MData::Dumper -we "my %h; print Dumper %h;"
                                                          ^^^
                                                          \%h
$VAR1 = {};

Therefore, the hash, like the array, both resolve to an empty list not
undef.

-ZO



-- 
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