Hi all,
 
# /usr/bin/perl
use strict;
use warnings;
 
my $CT = "/usr/atria/bin/cleartool";
my @test = (1,2,3,4,5);
print "@test\n";

The output of the above script is 
 
 1 2 3 4 5
 
But i need output as 
 
1
2
3
4
5
 
In short i need to append \n character after every element of the array.
 
Please help
 
Regards
Irfan.
 

Reply via email to