in reply to Foreach Loop in Data Scraping
You need to use a while loop, like this:
while ( $string =~ /(SUMMARY.+?DESCRIPTION)/ig ) { print "Summary: $1\n"; ## prints title of event }
|
---|
In Section
Seekers of Perl Wisdom
in reply to Foreach Loop in Data Scraping
You need to use a while loop, like this:
while ( $string =~ /(SUMMARY.+?DESCRIPTION)/ig ) { print "Summary: $1\n"; ## prints title of event }
|
---|