yes, you are correct, there was typo in that reply
here's the corrected array
('col1 : line1
col1 : line2',
'col2 : line1',
'col3 : line1',
'col4 : line1',
'col5:line1
col5:line2',
'coll6 : line1
coll6 : line2
coll6 : line3
coll6 : line4'
);
and corrected desired result
col1:line1|col2:line1|col3:line1|col4:line1|col5:line1|col6: line1
col1:line2||||col5:line2|col6:line2
|||||col6:line3
|||||col6:line4
I think, you got how I want to print the content of array. Going by the perlform doc and using ^* alongwith ~~ the format string I'm using should work, but it throws Out of Memory Error!.
or is there any other way i can get the desired result.
|