burra_ramakanth has asked for the wisdom of the Perl Monks concerning the following question:

Hi everyone, I am trying to open a perl file from a html page but only seeing a blank page as an output. When I analysed the code, I found that the ENV(SERVER_URL) is having value NULL. Can anyone please suggest, where does this environment variable get assigned and what should I do going forward? Many thanks for your kind help in advance Regards, Ramakanth

Replies are listed 'Best First'.
Re: ENV(SERVER_URL) is NULL
by Corion (Patriarch) on Jan 27, 2012 at 11:13 UTC

    What does one part of your problem (your program) have to do with the other part (your environment)?

    Please reduce your program to a self-contained program that we can run, no longer than 20 lines. Then look in the webserver error log for the errors your webserver records when running that program.

Re: ENV(SERVER_URL) is NULL
by Anonymous Monk on Jan 27, 2012 at 11:11 UTC
Re: ENV(SERVER_URL) is NULL
by rovf (Priest) on Jan 27, 2012 at 11:30 UTC
    Can anyone please suggest, where does this environment variable get assigned
    Usually I remember all environment variables in this world, and knowing also all applications, I know exactly where they are set. In this case, I somehow forgot ... but maybe you can have a look here:

    http://lmgtfy.com/?q=SERVER_URL

    -- 
    Ronald Fischer <ynnor@mm.st>