Just a quick note, if you are opening files in cygwin perl on windows, you need to beware the difference between line endings on unix and windows (CR vs CRLF)
You can either twiddle with what constitutes a line-break in perl or dos2unix the file, but if you do neither you'll get unexpected results
No comments:
Post a Comment