adamsjCROP: while (<FH>) { m#^\s*$# ? next CROP : last CROP; } # Your code here, now that the blank lines are gone
They laughed at Joan of Arc, but she went right ahead and built it. --Gracie Allen
In reply to Re: blank-ity blank blank!#$@!
by adamsj
in thread Skipping blank lines in a file
by beej
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |