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

Re: Merging of arrays with space

by vinoth.ree (Vicar)
on Jun 05, 2013 at 05:37 UTC ( #1037129=note: print w/ replies, xml ) Need Help??


in reply to Merging of arrays with space

Hi MynameisAchint

I tried the same method its works fine

use strict; use warnings; use Data::Dumper; my @arr1 = (1,23,'',45," ",4); my @arr2 = ("vinoth", " kumar", " ", 'vin' ); @arr1 = (@arr1,@arr2); print Dumper \@arr1
Output:
$VAR1 = 
          1,
          23,
          '',
          45,
          ' ',
          4,
          'vinoth',
          ' kumar',
          '  ',
          'vin'
        ;


All is well


Comment on Re: Merging of arrays with space
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-04-20 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls