in reply to Re^5: uninitialized string variable
in thread uninitialized string variable

Isn't it the same as $data->[0]{data} I'd use?

Replies are listed 'Best First'.
Re^7: uninitialized string variable
by jjw92 (Novice) on Aug 13, 2010 at 22:21 UTC

    From what I have tried it is the same thing (if you put "data") That does look cleaner. I was just doing it the way I learned how to. I like the cleaned up look though. Thanks

Re^7: uninitialized string variable
by JavaFan (Canon) on Aug 14, 2010 at 07:40 UTC
    $data->[0]{data} and $$data[0]{data} are equivalent. And so is $data->[0]->{data}. Use whatever you prefer.