Not sure if I understood your question correctly -
You could try the subprocess.call() method something like this
var = "/your/file/path"
retcode = subprocess.call(["./yourperlscript.pl", var])
if retcode == 0:
print("Passed!")
else:
print("Failed!")
In case you are looking for something different please comment appropriately.