Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: Sharing Configuration between Multiple CGI Scripts (was: How difficult can)

by perrin (Chancellor)
on Aug 08, 2002 at 18:35 UTC ( [id://188692]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://188692]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found