On 2/15/07, sur max <sur.max / gmail.com> wrote: > *a = 9 # => [9] > a # => [9] > *a # => compile error > *b=*a # => [9] > *b = a # => [[9]] > b = a # => [9] > b = *a # => 9 ----- this is amazing ? Splat operator is amazing, but above behaviour can be explained using this: "If the last lvalue is preceded by an asterisk, all the remaining rvalues will be collected and assigned to that lvalue as an array. Similarly, if the last rvalue is an array, you can prefix it with an asterisk, which effectively expands it into its constituent values in place. (This is not necessary if the rvalue is the only thing on the right sideÍÕhe array will be expanded automatically.) " See, nothing wierd out there. ;) PS: Taken from PickAxe Verbatim. -- gnufied ----------- There was only one Road; that it was like a great river: its springs were at every doorstep, and every path was its tributary. http://people.inxsasia.com/~hemant