in reply to Re: Sharing Configuration between Multiple CGI Scripts (was: How difficult can)
in thread Sharing Configuration between Multiple CGI Scripts (was: How difficult can)

You should not need to say "return 1;". Just putting a "1;" at the end of the file should be enough. Maybe you have something after the "1;", like some POD? If you put POD at the end, you would typically put the "__END__" marker before it.
  • Comment on Re: Re: Sharing Configuration between Multiple CGI Scripts (was: How difficult can)

Replies are listed 'Best First'.
Re: Re: Re: Sharing Configuration between Multiple CGI Scripts (was: How difficult can)
by belize (Deacon) on Aug 08, 2002 at 19:47 UTC
    Nope, I had only 1; at the end and it won't work, though I might have had a line return.
      You have something else wrong then, since a 1 at the end is the standard suggested way to do this. Maybe something else in your module causes it to return before it hits that 1 at the end.