As for your problem with stopping, I'm not seeing any reason why this section wouldn't work (assuming $foo and $bar are what you want them to be)
Ps. You can print $. instead of keeping a counter.
In reply to (kudra) Re: Reading entire file.
by kudra
in thread Reading entire file.
by stuffy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |