>test whether /usr/bin/perl exists and to set DEPENDAssuming it's in /usr/bin.>make the test 'if [ -x `which perl` ]'.Assuming the shell supports which.What's wrong with just trying to run perl? $PATH is surprisingly (ornot if you have some common sense) helpful for this sort of thing.-zefram