RE: New Object Notation vs @{$hash{key}}

2003-12-12 Thread Paul Kraus
> I wouldn't necessarily call it a bad habit as it does execute > properly, it just doesn't produce as readable of code... Rob > already covered -> well so I will just point you to some > "light" reading if you thirst for more... > > perldoc perlreftut > perldoc perlref > perldoc perldsc > per

Re: New Object Notation vs @{$hash{key}}

2003-12-12 Thread Rob Dixon
Wiggins D Anconia wrote: > > > 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 ho

Re: New Object Notation vs @{$hash{key}}

2003-12-12 Thread Wiggins d Anconia
> 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 e

Re: New Object Notation vs @{$hash{key}}

2003-12-12 Thread Rob Dixon
Paul Kraus wrote: > > 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

New Object Notation vs @{$hash{key}}

2003-12-12 Thread Paul Kraus
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 a