Bryan Harris wrote:
> 
> I'm getting this warning in a simple script I'm writing:
> 
> **************************************
> main::overlap() called too early to check prototype at
> /Users/bh/Library/perl/popdef line 272.
> **************************************
> 
> The subroutine "overlap" is at the bottom of the script, but so are several
> others, and I don't get warnings on those.  What causes this kind of
> warning?

Using prototypes.  Don't use prototypes:

http://library.n0i.net/programming/perl/articles/fm_prototypes/



John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to