in reply to Re: Win32::Clipboard dying?
in thread Win32::Clipboard dying?

Hi afoken, Sorry, that was my first time using the site and I am fairly new at perl. I have edited the post as per your suggestions. The error message is simple the message that I have written after .... or die "No Image Captured".

Replies are listed 'Best First'.
Re^3: Win32::Clipboard dying?
by afoken (Chancellor) on May 20, 2016 at 16:30 UTC
    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". ;-)