Every time through the foreach loop, you open and write to the same file. Perhaps you want to create a file of a different name each time thru the loop. Or maybe you want to append to the same file every time (open).open(FILE, ">TorontoParties.txt"); print FILE "$Parsed";
In reply to Re: Printing From Several Webpages
by toolic
in thread Printing From Several Webpages
by MiriamH
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |