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