programming-examples/perl/Win32/Get data from Windows Clipboard.pl

9 lines
137 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl Cw
use Win32::Clipboard;
$clip = Win32::Clipboard->new();
$val = $clip->Get();
print "Clipboard: [ $val ]\n";