|laziness, impatience, and hubris|
trying to convert from awk to perlby Anonymous Monk
|on Jan 09, 2006 at 16:37 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I am very new to perl and truthfully to awk. I have an awk statement that works wonderfully for 11 files I have to parce. But I cannot seem to convert this to either A) work inside of Perl or B) figure out how to write it in Perl. I have tried using a2p but it makes no sense to me.
Here is the awk statement.
It simply reads column 1 for anything that starts with "F" and copies that into another file.
I tried using system call
but I get the following error.
Any help would be greatly appreciated.