in reply to Action needed on warning errors ?

Change your line of
print footer;
to this
print &footer;
And the warning will go away.

Replies are listed 'Best First'.
Re: Re: Action needed on warning errors ?
by BUU (Prior) on Oct 07, 2003 at 05:16 UTC
    Better yet, change it to print footer(); unless you know exactly why you would use &footer instead.
Re: Re: Action needed on warning errors ?
by peterr (Scribe) on Oct 07, 2003 at 05:16 UTC
    Thanks, your suggestion caused me to search for string 'footer' in the code. Actually there is a sub called "page_footer", but no sub called "footer". Then more digging thru the code, and the sub where "print footer" is, the call to it, has been commented out.

    # &check_value_combinations;

    It's a huge Perl script, written by someone else, so I'm still learning. :)

    Thanks,

    Peter

      The best idea is to add use strict; to the top and fix everything it complains about.
        Thanks Roger and BUU

        Peter