Robert Wohlfarth <rbwohlfa...@gmail.com> writes:

> On Sat, Jan 31, 2015 at 3:58 PM, Harry Putnam <rea...@newsguy.com> wrote:
>
>> [snip...]
>
> I have about 100 lines or so inside a File::Find:
>>
>>   find (
>>      sub {
>>      }, $tdir;
>>    );
>> [snip...]
>> which looks like this ... snipped:
>>
>>          [...]
>>
>>           }                <==          incloses an if clause
>>         }                  <==          incloses a while loop
>>         close $fh;
>>       }, $tdir;            <==          inclusing subroutine
>>    );
>>
>
> Why the semi-colon after $tdir? Seeing the parenthesis, I would guess that
> $tdir is a parameter to a function call. It should not have a semi-colon
> after it.

I did notice that before posting, and try removing it, but received
exactly the same error.  So something is still going on somewhere
else.

Now working on using some of the tools mentioned in this thread.

Thank you all for the excellent input.


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to