5 use Imager::Screenshot 'screenshot';
7 Imager::Screenshot->have_win32
8 or plan skip_all => "No Win32 support";
13 my $im = screenshot(hwnd => 0);
15 ok($im, "got a screenshot");
19 my $im = Imager::Screenshot->screenshot(hwnd => 0);
21 ok($im, "call as a method");