in reply to Errors in File::Recurse()?
%s() called too early to check prototypeIs 'recurse' declared correctly (and early enough, given that it is prototyped) in Recurse.pm?(W prototype) You've called a function that has a prototype before the parser saw a definition or declaration for it, and Perl could not check that the call conforms to the prototype. You need to either add an early prototype declaration for the subroutine in question, or move the subroutine definition ahead of the call to get proper prototype checking. Alternatively, if you are certain that you're calling the function correctly, you may put an ampersand before the name to avoid the warning. See the perlsub manpage.
Additionally, are you sure this is even an error? It looks to me like it's just a warning. Try removing the -w flag from your script and see if it runs OK.
|
|---|