Replace this withprint $test->dest->flags
orprint $test->{dest}->{flags}
In Perl, the syntax you used is only for method calls, not for hash items. I know that in a lot of other languages the difference between the two isn't so large...print $test->{dest}{flags}
In reply to Re: Perl hashes revisit
by bart
in thread Perl hashes revisit
by perlpreben
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |