develooper Front page | perl.beginners | Postings from January 2004

hash of hash of array slices

Thread Next
From:
Paul Kraus
Date:
January 26, 2004 08:28
Subject:
hash of hash of array slices
Message ID:
16330340668679@meemail1.pelsupply.com
This works 

Foreach ( @{$hash{$key1}{$key2}} )

This does note

Foreach ( @{($hash{$key1}{$key2})[9..1]} )

This gives me this error ....
Can't use undefined value as an array reference.

TIA,

 Paul Kraus
 -----------------------
 PEL Supply Company
 Network Administrator
 -----------------------
 800 321-1264 Toll Free
 216 267-5775 Voice
 216 267-6176 Fax
 www.pelsupply.com
 -----------------------



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About