http://www.perlmonks.org?node_id=166443


in reply to Sub only grabbing first line from STDIN

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... ;-)


Everything went worng, just as foreseen.

  • Comment on Re: Sub only grabbing first line from STDIN