Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Clubbing array elements together:

by Athanasius (Monsignor)
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 perusing the Monastery: (18)
As of 2014-08-27 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (244 votes), past polls