in reply to Re^3: Vowel search
in thread Vowel search

closed the bracket and still getting the same error...

Replies are listed 'Best First'.
Re^5: Vowel search
by kennethk (Abbot) on Jun 11, 2014 at 21:04 UTC
    foreach $file(@lines);
    is an invalid statement. See Foreach Loops in perlsyn. You likely mean
    foreach $file(@lines) { ... }

    #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.