in reply to How can i call the subroutine of the shell script and pass certain parameters to it?
Did you try this:
system ('. file.sh && routine');It's untested, but may give you a pointer. However, I advise against the whole principle as it will be somewhat lacking in transparency and therefore maintainability. YMMV.
It does sound a little like an XY Problem.
|
|---|