in reply to using "#!/<perlpath>/bin/perl" to exec a shell script?
How about using symlinks? You might symlink /usr/arch/bin to /usr/i386/bin for your i386 boxes, and to /usr/sparc/bin on your solaris boxes. Then your scripts could all just use /usr/arch/bin....
Untested, so it may not work all that well, but I think that's what I'd try first. If it works, you don't need to figure out the wrapper.
...roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using "#!/<perlpath>/bin/perl" to exec a shell script?
by cadphile (Beadle) on Oct 04, 2007 at 03:23 UTC |