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

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: OT: would this ENV setup make you blow your lid too?
by gellyfish (Monsignor) on Jun 08, 2006 at 11:15 UTC

    Er, after you calm down maybe you can explain how you output this environment? There seems to be an implication that this comes from a web application, however this looks very much like the kind of environment that you would find in an interactive shell on Linux for instance, and taken in that context this seems quite restrained - I appear to have twice as much stuff in %ENV.

    /j\

      use Data::Dumper; print STDERR Dumper (\%ENV);
Re: OT: would this ENV setup make you blow your lid too?
by xorl (Deacon) on Jun 08, 2006 at 13:14 UTC
    Doesn't look too different from mine:
    NETHACKOPTIONS=!autopickup,!mail,showexp,showscore,number_pad:1,hilite +_pet SSH_AGENT_PID=4203 HOSTNAME=xorl.intranet TERM=xterm SHELL=/bin/bash HISTSIZE=5000 GTK_RC_FILES=/etc/gtk/gtkrc:/home/xorl/.gtkrc-1.2-gnome2 WINDOWID=35682814 OLDPWD=/tmp/liberty QTDIR=/usr/lib/qt-3.1 USER=xorl LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01: +cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe= +00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.ta +r=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:* +.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm +=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:* +.xpm=00;35:*.png=00;35:*.tif=00;35: SSH_AUTH_SOCK=/tmp/ssh-XXGtnSON/agent.4151 SESSION_MANAGER=local/xorl.intranet:/tmp/.ICE-unix/4151 PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/ho +me/xorl/bin MAIL=/var/spool/mail/xorl PWD=/tmp INPUTRC=/etc/inputrc XMODIFIERS=@im=none EDITOR=/usr/bin/xemacs LANG=en_US.UTF-8 GDMSESSION=Default SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=2 HOME=/home/xorl GNOME_DESKTOP_SESSION_ID=Default LOGNAME=xorl LESSOPEN=|/usr/bin/lesspipe.sh %s VALGAAV=xxx.xxx.xxx.xxx DISPLAY=:0.0 G_BROKEN_FILENAMES=1 COLORTERM=gnome-terminal XAUTHORITY=/home/xorl/.Xauthority _=/usr/bin/env
    Could you elaborate as to why you think something is wrong?
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: OT: would this ENV setup make you blow your lid too?
by greenFox (Vicar) on Jun 08, 2006 at 13:15 UTC

    So which part is breaking which part of your code? FWIW I tend to believe that if I am relying on anything being set in the environment for me then I am doing something wrong. If I need something I set it, otherwise I ignore it. I see other people fighting with cron and scripts being run from different shells etc and by and large I don't have those kinds of problems.

    --
    Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho

Re: OT: would this ENV setup make you blow your lid too?
by perrin (Chancellor) on Jun 08, 2006 at 13:24 UTC
    Sorry, I don't get it. Which part of this looks wrong to you? I don't recognize all of those, but it looks pretty standard at first glance.
    A reply falls below the community's threshold of quality. You may see it by logging in.