Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Checking if STDIN contains data on win32
by ikegami (Patriarch) on Oct 25, 2007 at 14:17 UTC | |
|
Re: Checking if STDIN contains data on win32
by ldln (Pilgrim) on Oct 25, 2007 at 14:51 UTC | |
by tye (Sage) on Oct 26, 2007 at 02:18 UTC |