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.

-- 
Robert Wohlfarth

Reply via email to