Why do you need the batchfile between your Perl script and the executable? The system call returns the exit status of whatever is executed, so you could use that to grab the exit status (or error level) of your executable (if that is actually what you want to do). Please note that you need to shift the return value of system 8 bits to the right to get the actual exit status:
my $status=system($executable);
print "Exit value was: ".$status>>8;