Syntactic Confectionery Delight | |
PerlMonks |
Grep result in separate linesby vboy1997 (Initiate) |
on May 09, 2011 at 15:56 UTC ( [id://903786]=perlquestion: print w/replies, xml ) | Need Help?? |
vboy1997 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, I have a couple of grep statements that currently only output all files on 1 single line like file1.txtfile2.txtfile3.txt. I would like to have them output on separate lines like, file1.txt file2.txt print grep {(stat)3 > 1} @things; print grep {-l readlink} @syms; I've tried many ways already but no luck. Please help me or show me the correct way to do this. Thank you all in advanced.
Back to
Seekers of Perl Wisdom
|
|