Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: content extraction

by Lawliet (Curate)
on Feb 23, 2009 at 20:44 UTC ( #745830=note: print w/ replies, xml ) Need Help??


in reply to content extraction

Hmm, why do you capture patterns that you never use?

while ($content =~ /^MEDICAL HISTORY:(.+?)\n^[A-Z]/sgm) print "$1\n"; }

Also, why do you exit at the end of your script?

And you didn't even know bears could type.


Comment on Re: content extraction
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://745830]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-07-28 11:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (196 votes), past polls