> Paul Kraus <[EMAIL PROTECTED]> wrote:
> :
> : 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.
> :
> 
> 
>  foreach ( reverse @{ $hash{$key1}{$key2} }[ 1 .. 9 ] ) {
That was a typo should have read [ 1..10]

And the code doesn't work.
Hmmmm


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