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


in reply to Re: Re: Re: Re: Pulling by regex II
in thread Pulling by regex II

No ideas on the problem, looks fine that I can see. Perhaps try putting some debug print statements in the while() loop and make sure everything is getting set where it should. It sounds like the regex is going wonky somewhere but I don't see how with that test data.
  • Comment on Re: Re: Re: Re: Re: Pulling by regex II

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Pulling by regex II
by mkent (Acolyte) on Dec 19, 2002 at 16:51 UTC
    Turned out that I was saving the data as ".html" and apparently that caused the script to read multi lines as single lines, thus the problem. Dumping the ".html" tag cleared it up. Your code is working great, as in my latest "Count sort and output II" posting. Thanks!!

    Sorry it took me a little while to reply, still feeling my way around this site!