in reply to Re: Strange error in GD::Graph::Map
in thread Strange error in GD::Graph::Map

thanks you very much for your reply, for a normal use, ususally the code for subroutine is at the last of script?
  • Comment on Re: Re: Strange error in GD::Graph::Map

Replies are listed 'Best First'.
Re: Re: Re: Strange error in GD::Graph::Map
by davido (Cardinal) on May 10, 2004 at 16:14 UTC
    You can put the subroutine definition just about anywhere. But if you're going to declare prototypes, that must happen before your first call to the sub.

    Just don't use prototypes. You really don't need them, really.


    Dave