in reply to accessing array elements using a reference

You have two different pieces of code and that's why the behaviour is different. @{${$hash{"one"}}[0]} returns an array, not reference to an array:
$hash{"one"} -> [[1,2,3],[]] @{$hash{"one"}} -> ([1,2,3],[]) ${$hash{"one"}}[0] -> [1,2,3] @{${$hash{"one"}}[0]} -> (1,2,3)

Replies are listed 'Best First'.
Re^2: accessing array elements using a reference
by Anonymous Monk on May 19, 2008 at 21:42 UTC
    Yes but why @{$hash{"one"}}[0] does not generate a warning while @array[0] does?
      My fault, I copied wrong code for testing and didn't understand the question. But I think BrowserUk has a good answer for you.