I think I am picking up some bad habits so maybe you guys can help.

I currently use this notation @{$hash{key}} to access an array stored in
a hash.
I keep seeing posts that it is better to use an object like notation.
Can I see some examples on how you would access the array or an element
of an array.

Also is there a way to access slices in a foreach something like

Foreach ((@arrar)[1,3..6]){
        code
}

TIA
Paul


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