Perhaps you should check if the line has anything in it and stop parsing?
Enjoy!while (<FILE>) { last unless /^\n$/; do stuff(); }
-- Casey
In reply to Re: Closing program when end of files is reached
by cwest
in thread Closing program when end of files is reached
by fgcr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |