Help for this page

Select Code to Download


  1. or download this
    sub resolve_env_in_path {
        my ($path) = @_;
    ...
        $path =~ s/\$(\w+)/$ENV{$1}/g;
        return $path;
    }