Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Clubbing array elements together:

by Athanasius (Archbishop)
on Jan 29, 2013 at 11:40 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1015866]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-24 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found