1 2 3 4 5
#!/bin/sh mydir=`dirname $0` me=`basename $0` export PATH=${mydir}:${PATH} exec /usr/bin/perl ${mydir}/${me}.pl $@