NAME Env::Sourced - Allows you to import environment variables
from a shell program SYNOPSIS use Env::Sourced
qw(/first/file/to/ /second/file/to/; DESCRIPTION In the UNIX
shell, when you source a file the shell reads and executes the
commands from a specified file in the current shell environment.
This is opposed to simply executing the specified file, which
would cause it to run in its own shell environment. Because the
executed script runs in the current environment, any environment
variables exported by the sub-script will be included in the
calling scripts environment. On many boxes there are legacy
shell scripts which serve as central points for holding
variables that are used in other scripts. These variable scripts
are sourced in all of the worker scripts so that they can share
a common environment. This works fine for shell scripts, but can
be problematic for Perl scripts. To pick up the shared
environment, they typically must be wrapped by a shell script
that does the sourcing for the Perl script: #/