Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: Printing first element of an array in worksheet

by choroba (Archbishop)
on Dec 11, 2020 at 11:13 UTC ( #11124990=note: print w/replies, xml ) Need Help??


in reply to Re^4: Printing first element of an array in worksheet
in thread Printing first element of an array in worksheet

You probably mean join, not split, it's the inverse. Yes, you can:
my $string = join '|', @{ $responsetextall[$i][$j]{set}{Client}{redire +ct_uris} };
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^6: Printing first element of an array in worksheet
by chandantul (Beadle) on Dec 12, 2020 at 01:33 UTC

    Thanks this works

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11124990]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2021-04-14 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?