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

pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:

Are there good modules to help me copy and paste things in perl? Specifically, a way to put something into the paste buffer (or whatever it's called). I.E. Rather than output my results to stdout, highlight with mouse, copy and then paste, Id like to run the script and have the results ready to paste immediately.

I'm thinking of writing a password-safe like app in perl. I don't want to do gui interface, but I do want to paste passwords without having to first copy them from the screen.

I work in Linux and OpenBSD. So my first choice would be some wonderful portable "it just works" module that can handle X windows and console mousy stuff (curses maybe?).

Thanks!
--Pileofrogs