Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Clubbing array elements together:

by Athanasius (Abbot)
on Jan 29, 2013 at 11:40 UTC ( #1015866=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl
    use Modern::Perl;
    ...
    
    dd @array1;
    dd @array2;
    
  2. or download this
    21:38 >perl 508_SoPW.pl
    (
    ...
    ("abcdefgh", "jklmnopq")
    
    21:38 >
    
  3. or download this
    map { $_ // "\0" } @array1
    
  4. or download this
    map { $_ || "\0" } @array1
    
  5. or download this
    map { $_ eq '' ? "\0" : $_ } @array1
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2015-07-07 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls