in reply to Running perl on multiple platforms
That is, place architecture-dependend binaries for perl in your ~/bin directory, and have ~/bin/perl redirect to the correct perl.#!/bin/ksh # If ksh isn't available for all platforms, use /bin/sh, # but test the the argument quoting below -- not # all /bin/sh are created equal... # have this be file ~/bin/perl ARCH=`uname` exec ~/bin/perl-$ARCH "$@"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Running perl on multiple platforms
by the pusher robot (Monk) on Nov 14, 2002 at 23:05 UTC | |
|
Re: Re: Running perl on multiple platforms
by the pusher robot (Monk) on Nov 15, 2002 at 02:35 UTC |