Help for this page

Select Code to Download


  1. or download this
    A="foo"
    B="some other data"
    ...
      with more data
      and $B
    "
    
  2. or download this
    #!/bin/bash -
    
    ...
    export C
    export D
    ./foo.pl
    
  3. or download this
    #!/usr/bin/perl
    
    ...
        $env->{$val} = $ENV{$var};
      }
    }
    
  4. or download this
    #!/bin/env perl
    
    ...
    my $content = do { local $/ = <$fh> };
    my $stuff = parse_sh_maint(parse_sh($content), [qw/scalar1 scalar2/]);
    print "Vars: " . Dumper($stuff), "\n";