• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Shell/H01-Sep-2006-1,722693

t/H03-Jul-2009-912642

ChangesH A D04-Jun-2008644 2215

MANIFESTH A D01-Sep-200683 76

Makefile.PLH A D04-Jun-2008546 1411

READMEH A D01-Sep-20061.2 KiB4529

Shell-EnvImporter.specH A D04-Jun-20082.7 KiB11070

build_rpmH A D01-Sep-20062 KiB9358

testH A D01-Sep-2006391 117

README

1Shell-EnvImporter version 0.01
2==============================
3
4Shell::EnvImporter allows you to import environment variables set in an external
5shell script into the environment of a Perl script.  For instance, if your
6ORACLE_HOME variable is set in ~oracle/.bashrc, you can use Shell::EnvImporter
7to import it thus:
8
9  my $importer = Shell::EnvImporter->new(file => glob("~oracle/.bashrc"));
10
11This imports all variables added or changed by ~oracle/.bashrc into the
12current environment (%ENV).  By using Shell::EnvImporter's advanced
13features, one can exert more control over the process -- which shell is
14required, which variables are imported, etc.
15
16Currently supported shells: bash, csh, ksh, sh, tcsh, zsh, and of course,
17perl.  :)
18
19INSTALLATION
20
21To install this module type the following:
22
23   perl Makefile.PL
24   make
25   make test
26   make install
27
28DEPENDENCIES
29
30This module requires these other modules and libraries:
31
32  Class::MethodMaker (>= v2)
33  IO::Handle
34  IO::Select
35  IPC::Open3
36
37
38COPYRIGHT AND LICENCE
39
40  Copyright (C) 2005-2006 by Dave Faraldo
41
42  This library is free software; you can redistribute it and/or modify it
43  under the same terms as Perl itself.  No warranty is expressed or implied.
44
45