Help for this page
$First = Win32::GUI::GetForegroundWindow();
Win32::GUI::Hide($First); # correct $First->Hide(); # wrong
print "Window handle is $Window->{-handle} \n";