good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Vowel searchby andal (Hermit) |
on Jun 12, 2014 at 11:37 UTC ( [id://1089677]=note: print w/replies, xml ) | Need Help?? |
In the "Update" part look at line 11 of your code. It reads "foreach $file(@lines);". This ';' at the end is not acceptable, so perl gives you error. You need { instead. Looks like you're also missing closing } for your while. It should be before foreach.
In Section
Seekers of Perl Wisdom
|
|