Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Shell::GetEnv::Dumper 0.07

    Download button

    No screenshots available
    Downloads: 388  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.8/5)
    16 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Diab Jerius | More programs
    Perl Artistic License / FREE
    July 8th, 2008, 07:53 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Shell::GetEnv::Dumper description

    Shell::GetEnv::Dumper is a store and retrieve environment.

    Shell::GetEnv::Dumper is a store and retrieve environment.

    SYNOPSIS

    # write environment to file
    perl /path/to/Shell/GetEnv/Dumper.pm file

    # read environment from file
    use Shell::GetEnv::Dumper;
    $envs = Shell::GetEnv::Dumper::read_envs( $filename );

    Shell::GetEnv::Dumper is used by Shell::GetEnv to store and retrieve a subprocess's environment. It uses Storable to write and read the %ENV hash from and to disk.
    Writing the environment is done from within the subshell by executing this module as a Perl script. The command line may be formed as follows:

    # this loads the path to the module in %INC.
    use Shell::GetEnv::Dumper;

    # this invokes the module directly, using the Perl which was
    # used to invoke the parent process. It uses the fact that we
    # use()'d Shell::GetEnv::Dumper and Perl stored the absolute path
    # to it in %INC;
    $cmd = qq{$^X '$INC{'Shell/GetEnv/Dumper.pm'}' $filename};

    Retrieving the environment is done using the read_envs() function.

    Note that nothing is exportable from this module.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    store environment | retrieve environment | Perl module | store | retrieve | environment

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM