You might put a debugging line after the split, just to see what's in $var and $value: print "\$var is ->$var<-\t\$value is ->$value<-\n"; Besides that, I had things backwards in the original version of my code. Try this instead: $value = $env_var{$1} . $value; That way, it won't go in the wrong place. Oops!
In reply to RE: RE: Re: Parsing variables from login scripts
by chromatic
in thread Parsing variables from login scripts
by eLore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |