in reply to Output not correct
I suspect the elements in @test_input_array have spaces where you don't expect them (you split on a single comma and forget about the spaces).use Data::Dumper; local $Data::Dumper::Useqq = 1; # show things like newlines, tabs as " +\n", "\t" print Dumper $input_A; print Dumper \@test_input_array;
|
---|