in reply to ExifTool & system()
Check what system returns. I don't think it is what you are expecting.
--MidLifeXis
So I swapped each of the three system() calls for backticks like the following...
# Extract main (left) image. my $fdbk = qx|exiftool -trailer:all= $mpo -o $dir_in/L.jpg 2>&1 1>/dev +/null|; print "ExifTool error on image 1: $fdbk\n" if $fdbk; [download]
...and no error prints from the print() command but nevertheless I get three prints of just plain... "The system cannot find the path specified" ...in the CLI all by themselves. And the program still works. What am I failing to understand still yet?