Help for this page

Select Code to Download


  1. or download this
    $ export A=1
    $ echo $A
    ...
    $$ exit
    $ echo $A
    1
    
  2. or download this
    $ echo $A;perl -wE'say $ENV{A};$ENV{A}=2;say$ENV{A}';echo
    $A
    ...
    };qx{echo \$A};'
    1
    B
    
  3. or download this
    BEGIN {
        $ENV{test} = "B";
        }
    use My::Module; # Which initializes with $ENV{test}