I have a perl script for which ENV variables can be set to direct specific outputs e.g. $debug, $verbose, $develop etc
Usually I run these from the command line
Try to combine all commands into shell script and run it like that: nohup /path/to/script.sh
Or you could use export: export VERBOSE=1 And then: nohup perl myperlscript.pl params