You need to use a while loop, like this:
while ( $string =~ /(SUMMARY.+?DESCRIPTION)/ig ) { print "Summary: $1\n"; ## prints title of event }
In reply to Re: Foreach Loop in Data Scraping
by jwkrahn
in thread Foreach Loop in Data Scraping
by MiriamH
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |