in reply to Re^4: system ( "source $script" )
in thread system ( "source $script" )
Does perl have something analogous to the shell's source?Yes. It's called do. But, just as the shell's source, it only applies to the current process.
I'd like to apply the initialization scripts to the shell which the Perl script is running in.Then you have to do it from within that shell. Trust me, you really, really do not want an environment where any program you can start can rearrange your environment.
|
|---|