http://www.perlmonks.org?node_id=668020


in reply to onclick to clipboard

You might want to check out Win32::Clipboard.