I expect that you'll have difficulty with this. One problem we found is that the symbian batchfiles (autogenerated and otherwise) consistently use this idiom (this example is from a generated ABLD.BAT):
which is unfortunately broken -- if perl returns an error code we go to the CheckPerl test, which (assuming it succeeds, as it will on a properly set up system) will cause the whole script to exit with a success status anyway. These scripts ought to be fixed to propagate error status properly.
perl -S ABLD.PL "\symbian\my-app-dir\" %1 %2 %3 %4 %5 %6 %7 %8 %9
if errorlevel==1 goto CheckPerl
perl -v >NUL
if errorlevel==1 echo Is Perl, version 5.003_07 or later, installed?
I notice that Carbide works around some of these problems by invoking the perl scripts directly rather than via the batch file wrappers...