The error message is simple the message that I have written after .... or die "No Image Captured".
Read my posting again. I told you where perl hides more information, and that you should write that information somewhere when an error occurs.
Compare to the usual idiom for opening files:
open my $f,'<',$filename or die "Can't open $filename: $!";
# ***HINT*** ------------------------------------------^^
Also note that $! will most likely not help you, see my first posting.
Alexander
--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
|