Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

automatically copy output from text file

by perlnoobster (Sexton)
on Sep 27, 2012 at 10:16 UTC ( #995962=perlquestion: print w/replies, xml ) Need Help??
perlnoobster has asked for the wisdom of the Perl Monks concerning the following question:

hi monks I was just wondering if the following would be possible: I run a script that generates a text file, all i require is for the output to be copied as soon as it's created instead of having to open the output text file and selecting all and copying the data. I hope that makes sense? Is it possible, if so how? Thank you :)
  • Comment on automatically copy output from text file

Replies are listed 'Best First'.
Re: automatically copy output from text file
by Anonymous Monk on Sep 27, 2012 at 10:29 UTC
    Copied where?
      hello, on the clipboard, you know how you copy and paste text etc either by pressing ctrl+c or selecting the text and copying it by right clicking (default windows options) I was just wondering if the output could be "copied" into the clipboard as opposed to manually copying the text from the file via ctrl + C or right clicking and selecting copy i hope that makes sense?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://995962]
Approved by marto
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2018-06-18 18:07 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (110 votes). Check out past polls.