the environment are stored in hash %ENV. At the start of your program’s execution,
%ENV holds values it has inherited from its parent process (generally the shell). Modifying
this hash changes the environment variables, which will then be inherited by new pro-
cesses and possibly used by Perl as well.
if you want to execute your one 'make' command.
- $ENV{PATH}="/tmp/:$ENV{PATH}"
阅读(453) | 评论(0) | 转发(0) |