# Put this in the beginning of your program if (@ARGV && $ARGV[0] eq '--environment_set') {shift} else {@ARGV = map {s/'/'"'"'/g; "'$_'"} @ARGV; exec "source '$fname'; exec '$0' --environment_set @ARGV"}
In reply to Re: Setting environment variables by reading them from a configuration file
by Anonymous Monk
in thread Setting environment variables by reading them from a configuration file
by robby123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |