in reply to ExifTool & system()

This way seems to work out best...
# Extract main (left) image. system("exiftool -trailer:all= foo.mpo -o L.jpg") == 0 or warn "ExifTool error on image 1: $?\n";