in reply to Masters of Loops and Filehandles

It sounds as though you might employ your time better by reading a standard Perl primer -- Learning Perl from O'Reilly would be a standard example (and a darn good one) -- than by fighting with "a million lines of code attempts at this patched together from examples all over the internet...."

You may also want to visit our Tutorials for a selection of complimentary information.

Replies are listed 'Best First'.
Re^2: Masters of Loops and Filehandles
by pbyfire (Novice) on May 10, 2012 at 14:34 UTC

    ww - Of course you are correct. Although I have taken Perl courses and have most of the OReilly books the occasion to actually write perl scripts never presented itself in my job until now. Scripting / Programming is like learning any foreign language - after reading several books about learning spanish I still have not gotten beyond Cerveza Por Favor because I am not in an environment where spanish is actually spoken and therefore I don't retain it. If bash were acceptable I could have managed this in a few minutes using a for loop in conjunction with awk, sed and grep but alas I must learn Perl. - Thanks for your reply. - pbyfire = Perl By Fire