I think this might be a basic issue, but I don't know what to do.
I have a massive list of data that summarizes different events at my university. I need to print out all the titles of the events. The data is structured in that it says "summary" and gives title and then "description" immediately after. This happens at least 50x. I have a script that will print out the title, but only for the FIRST time it seems "summary" and "description". How do I make it continue through the data?
if($string=~m/.+?(SUMMARY.+?DESCRIPTION).+?$/i){ print 'Summary: ',$1,$/; ## prints title of event }
In reply to Foreach Loop in Data Scraping by MiriamH
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |