in reply to Printing first element of an array in worksheet

@redi = $responsetextall[$i][$j]{set}{Client}{redirect_uris};
The right hand side of the assignment is a value from a deeply nested hash. The value of a hash is always a scalar, i.e. a single value.

Show us the code where you populate the inner hash. You might need to use an anonymous array as the value:

$responsetextall[$i][$j]{set}{Client}{redirect_uris} = [ 'http://abcd01.cpu.comp.com:80/AutosysPortal/', 'http://abcd01.cpu.comp.com:80/Da/', 'http://abcd01.cpu.comp.com:80/Ge/', 'http://abcd01.cpu.comp.com:80/PO/', 'http://abcd01.cpu.comp.com:80/g/' ];

and then you need to dereference the value:

@redi = @{ $responsetextall[$i][$j]{set}{Client}{redirect_uris} };
or (requires 5.20)
@redi = $responsetextall[$i][$j]{set}{Client}{redirect_uris}->@*;

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]