Set BF_ROOT or BF_STEP_ROOT variable to a different path
One answer
Is it possible to change the path referenced by BF_ROOT or BF_STEP_ROOT variables?
I'd like to execute a perl script from a different location and so change the path of BF_STEP_ROOT location to the script location.
you can change the execution location of a step by changing the "Directory" field on the step page.
If this location is something that is going to be determined by an environment variable, you'll need to change the working directory with a cd command before you execute that perl script.