chandantul has asked for the wisdom of the Perl Monks concerning the following question:
My code snippet is printing only first element of the array. This is printing the following This is printing only http://abcd01.cpu.comp.com:80/AutosysPortal/ instead of all This is printing only '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/ Can you please let me know where its wrong here?
@redi = $responsetextall[$i][$j]{set}{Client}{redirect_uris}; for my $i (0..$#redi) { $worksheet->write($r, 6, [ $redi[$i]]); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Printing first element of an array in worksheet
by choroba (Cardinal) on Dec 09, 2020 at 18:03 UTC | |
Re: Printing first element of an array in worksheet
by davido (Cardinal) on Dec 09, 2020 at 18:06 UTC | |
by chandantul (Scribe) on Dec 09, 2020 at 19:47 UTC | |
by davido (Cardinal) on Dec 10, 2020 at 16:48 UTC | |
by chandantul (Scribe) on Dec 11, 2020 at 02:11 UTC | |
by choroba (Cardinal) on Dec 11, 2020 at 11:13 UTC | |
|
Back to
Seekers of Perl Wisdom