Help for this page

Select Code to Download


  1. or download this
    foreach $key (keys %hash) {
        $ENV{$key} = $hash{$key};
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    }
    
    setEnvVars(%engEnvVars);
    
  3. or download this
    ./testScript.pl -engEnvVar APP_DIR=/usr/vendor/app/version/ -engEnvVar
    + TMP_DIR=/usr/tmp/
    
  4. or download this
    use strict;
    %ENV = ( foo => 'bar ');
    system ( 'printenv' );