Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by choroba (Cardinal)
on Dec 11, 2020 at 11:13 UTC ( [id://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 (Scribe) on Dec 12, 2020 at 01:33 UTC

    Thanks this works

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-23 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found