Jason,
I believe that the $ENV has to read $main::ENV["myvar-name"] (not true, I just checked it and it works with the $ENV BUT read the next paragraph).
Another thing to check is to try to use the environment name in ALL CAPS. I have an Windoze variable I've added and use. In Windoze, it is entered as 'lower case', but when I run the $ENV using lower case, I get a null string. When I use all CAPS, I return the value.
Now I'd still keep the $main::ENV[] option in mind just in case.
Lynn
---- "Buss wrote:
> I am trying to grab the value of an environment variable (one set by
> another application) in an ACL script placed in the init directory.
> However, it keeps telling me that the $ENV["MY_VAR"] package doesn't
> exist. Is $main the last package to load? Is it loading after the init
> directory is read?
>
>
>
> Thanks,
>
>
>
> -Jason
>
>
> ----------