in reply to Re: How can i call the subroutine of the shell script and pass certain parameters to it?
in thread How can i call the subroutine of the shell script and pass certain parameters to it?
Also see do, which would be the closest thing to source in terms of Perl.
Or maybe Get default login environment, if the objective is "just" to set up some environment.
Still, defining and then calling shell functions from within Perl requires lots of effort that I'd try to avoid.
|
|---|