dir | putclipboard.pl
or
putclipboard.pl "some data"
Win32::Clipboard puts text on clipboard. Problem is how do we check if STDIN contains data? I've tried IO::Select, but couldn't get it to work.
In reply to Checking if STDIN contains data on win32 by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |