Jeganath KS has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks, I have tried to get the screen shot of given URL. I have used Win32::CaptureIE module to attain that. I used the following code

use Win32::CaptureIE; StartIE; Navigate('http://www.google.com/'); my $img = CaptureElement('tab_user_options'); $img->Write("screenshot.png"); QuitIE;
But I am getting the following error.

Can't load 'C:/Perl/site/lib/auto/Image/Magick/Magick.dll' for module Image::Magick: load_file:Recur sion too deep; the stack overflowed at C:/Perl/lib/DynaLoader.pm line 226. at C:/Perl/site/lib/Win32/Screenshot.pm line 111

I have tried a lot to solve this problem. The modules have been installed properly. No errors displayed while installing the modules. So I couldn't fine where is the problem. I will be happy if any one of you guide me.

Replies are listed 'Best First'.
Re: Can't load 'C:/Perl/site/lib/auto/Image/Magick/Magick.dll'
by almut (Canon) on May 13, 2010 at 13:33 UTC
    I have tried a lot to solve this problem.

    Does this include what people in other threads have found solved the problem for them?

      Yes I have tried. Still I m getting issues. So I m searching for some other modules to get the screenshot of given URL. Thanks a lot for your guidance.