You're closing DOM_WORK in your foreach loop in get_text(). Close it outside of get_text().
Update: jmcnamara, watch me when I install my new turbo charged keyboard... ;-)
In reply to Re: Sub only grabbing first line from STDIN
by Biker
in thread Sub only grabbing first line from STDIN
by aseidas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |