Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: OT: would this ENV setup make you blow your lid too?

by cees (Curate)
on Jun 08, 2006 at 14:42 UTC ( #554293=note: print w/ replies, xml ) Need Help??


in reply to Re^2: OT: would this ENV setup make you blow your lid too?
in thread OT: would this ENV setup make you blow your lid too?

You do realize that when you run a perl script from a shell (ie from the command line) you will not get all of those standard CGI environment variables... It is the web server that sets those environment variables right before it executes the CGI script. When testing scripts from the command line you need to set those variables yourself, or use a module that can simulate a CGI environment like HTTP::Request::AsCGI

The fact that your TERM environment variable is set to xterm gives it away that you ran this from the shell.


Comment on Re^3: OT: would this ENV setup make you blow your lid too?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-09-19 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (143 votes), past polls