Hi All,
 
I have some string stored in array as follows.
 
@array=(dadsad,assasd) Now if i print this array then it is printing as
dadsad,assasd
 
Now i want output like 
 
dadsad
assasd
 
so i did
 
for (@array) {

print $_,"\n";

}

My query is that can i store the output of this for loop in variable or
list. so that if i print the content of that variable or array then it
should print as
 
dadsad
assasd
 
Please guide
 
Regards
Irfan.
 
 
 

Reply via email to