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.@redi = $responsetextall[$i][$j]{set}{Client}{redirect_uris};
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:
or (requires 5.20)@redi = @{ $responsetextall[$i][$j]{set}{Client}{redirect_uris} };
@redi = $responsetextall[$i][$j]{set}{Client}{redirect_uris}->@*;
In reply to Re: Printing first element of an array in worksheet
by choroba
in thread Printing first element of an array in worksheet
by chandantul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |