Here you go, this script reads itself into the clipboard then reads that back.....
use Win32::Clipboard; my $cb = Win32::Clipboard(); $cb->Empty(); open F, $0 or die $!; $cb->Set( do{ local $/; <F> } ); close F; $cb->WaitForChange(); printf "Clipboard contains:\n\n%s\n", $cb->Get();
cheers
tachyon
In reply to Re: print to clipboard
by tachyon
in thread print to clipboard
by tomazos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |