Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://554293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found