| 1 | #
|
|---|
| 2 | # @(#)dotsh.pl 03/19/94
|
|---|
| 3 | #
|
|---|
| 4 | # This library is no longer being maintained, and is included for backward
|
|---|
| 5 | # compatibility with Perl 4 programs which may require it.
|
|---|
| 6 | #
|
|---|
| 7 | # In particular, this should not be used as an example of modern Perl
|
|---|
| 8 | # programming techniques.
|
|---|
| 9 | #
|
|---|
| 10 | #
|
|---|
| 11 | # Author: Charles Collins
|
|---|
| 12 | #
|
|---|
| 13 | # Description:
|
|---|
| 14 | # This routine takes a shell script and 'dots' it into the current perl
|
|---|
| 15 | # environment. This makes it possible to use existing system scripts
|
|---|
| 16 | # to alter environment variables on the fly.
|
|---|
| 17 | #
|
|---|
| 18 | # Usage:
|
|---|
| 19 | # &dotsh ('ShellScript', 'DependentVariable(s)');
|
|---|
| 20 | #
|
|---|
| 21 | # where
|
|---|
|
|---|