Environment vars

From: SG (sankarng_at_gmail.com)
Date: 08/14/04

  • Next message: ZafT: "Re: Installing DBI and DBD::Oracle"
    Date: 13 Aug 2004 17:10:55 -0700
    
    

    I use the %ENV to access the environment variables. I came across the
    following problem. When I change the environment variable from command
    line, i.e
    let us say origianlly env var $FOO was bar1, now I do
    > setenv FOO bar2
    so $FOO is now bar2
    it is not reflected when I access it from perl (which still says that
    $ENV{FOO} is bar1). Sometimes it takes a re-login to solve this
    problem. Is there an elegant way to solve this?
    SG

    ----- End forwarded message -----


  • Next message: ZafT: "Re: Installing DBI and DBD::Oracle"

    Relevant Pages