Sourcing in shell scripts into perl 
Author Message
 Sourcing in shell scripts into perl

In KSH I can do something like this,
#!/bin/ksh
. /home/skf26/special_env
echo "MYSHELL = <$MYSHELL>"

Where the file special_env has the following lines,
#!/bin/ksh
MYSHELL=foo ;

How do I source shell scripts into my current PERL environment?

--



Sun, 01 Sep 1996 21:13:51 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Sourcing shell from within Perl

2. sourcing csh scripts from within perl

3. sourcing bash script w/ Perl?

4. sourcing a ksh script within PERL

5. Sourcing files from my perl script

6. shell script from within a shell script

7. Calling shell scripts or shell commands from Perl

8. Scheme Shell: Shell Scripting for the 90's

9. Bourne Shell Script to Perl script converter?

10. Passing variables from Perl script to shell script

11. Shell Scripts vs. Perl Scripts

12. Perl script calling shell script failing

 

 
Powered by phpBB® Forum Software