in reply to Re: Modifying %ENV From The Shebang Line
in thread Modifying %ENV From The Shebang Line
Again, this is based on perlrun, though I'm obviously doing something wrong.#!/bin/bash eval 'LD_LIBRARY_PATH=/my/lib /usr/bin/perl /the/script' if $runningUnderSomeShell; warn "$ENV{LD_LIBRARY_PATH}\n";
Thanks,
Jim
|
|---|