Is it possible to include a library path when a certain module::function is called? I understand we could do this for the module as
use autouse 'Module' => qw (function1, function2)
But I am not sure if the same can be done to specify the path.
Any help in this regard is appreciated.
Some info:
We have a shell script that executes this perl script in the background. Also this shell script is executed during system startup. And the module path (dir where the module lives) is created at system startup after this shell script (daemon) is started. So if i could include the module at a later time then the perl script would not error out.