in reply to Re: Vowel search
in thread Vowel search

I switched what you suggested though I'm still getting an error, error stated on the edited parent post

Replies are listed 'Best First'.
Re^3: Vowel search
by Jim (Curate) on Jun 11, 2014 at 20:56 UTC

    You're missing the closing brace } of the if block, that's all.

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

        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.