Hi All,
 
I have one array say my @test=(1,2,3,4,5);
if I print this array it will print like this
print "@test\n";
and the output is
1 2 3 4 5
 
now my req. is that I want to store these array values in another array
in such a fashion where I can print like
1
2
3
4
5
 
so I mean to say that if I type print "@test1\n";
then output should come as 
1
2
3
4
5
 
I have used push function also but it is not giving expected result.
 
Please guide.
 
Regards
Irfan.
 
 

Reply via email to