1Clipboard(3) User Contributed Perl Documentation Clipboard(3)
2
3
4
6 version 0.21
7
9 use Clipboard;
10 print Clipboard->paste;
11 Clipboard->copy('foo');
12 # Same as copy on non-X / non-Xclip systems
13 Clipboard->copy_to_all_selections('text_to_copy');
14
15 Clipboard->cut() is an alias for copy(). copy() is the preferred
16 method, because we're not really "cutting" anything.
17
19 Who doesn't remember the first time they learned to copy and paste, and
20 generated an exponentially growing text document? Yes, that's right,
21 clipboards are magical.
22
23 With Clipboard.pm, this magic is now trivial to access, in a cross-
24 platform-consistent API, from your Perl code.
25
27 Clipboard - Copy and paste with any OS
28
30 Seems to be working well for Linux, OSX, *BSD, and Windows. I use it
31 every day on Linux, so I think I've got most of the details hammered
32 out (X selections are kind of weird). Please let me know if you
33 encounter any problems in your setup.
34
36 Ryan King <rking@panoptic.com>
37
39 Copyright (c) 2010. Ryan King. All rights reserved.
40
41 This program is free software; you can redistribute it and/or modify it
42 under the same terms as Perl itself.
43
44 See http://www.perl.com/perl/misc/Artistic.html
45
47 clipaccumulate(1), clipbrowse(1), clipedit(1), clipfilter(1),
48 clipjoin(1)
49
51 Websites
52 The following websites have more information about this module, and may
53 be of help to you. As always, in addition to those websites please use
54 your favorite search engine to discover more resources.
55
56 · MetaCPAN
57
58 A modern, open-source CPAN search engine, useful to view POD in
59 HTML format.
60
61 <https://metacpan.org/release/Clipboard>
62
63 · Search CPAN
64
65 The default CPAN search engine, useful to view POD in HTML format.
66
67 <http://search.cpan.org/dist/Clipboard>
68
69 · RT: CPAN's Bug Tracker
70
71 The RT ( Request Tracker ) website is the default bug/issue
72 tracking system for CPAN.
73
74 <https://rt.cpan.org/Public/Dist/Display.html?Name=Clipboard>
75
76 · AnnoCPAN
77
78 The AnnoCPAN is a website that allows community annotations of Perl
79 module documentation.
80
81 <http://annocpan.org/dist/Clipboard>
82
83 · CPAN Ratings
84
85 The CPAN Ratings is a website that allows community ratings and
86 reviews of Perl modules.
87
88 <http://cpanratings.perl.org/d/Clipboard>
89
90 · CPANTS
91
92 The CPANTS is a website that analyzes the Kwalitee ( code metrics )
93 of a distribution.
94
95 <http://cpants.cpanauthors.org/dist/Clipboard>
96
97 · CPAN Testers
98
99 The CPAN Testers is a network of smoke testers who run automated
100 tests on uploaded CPAN distributions.
101
102 <http://www.cpantesters.org/distro/C/Clipboard>
103
104 · CPAN Testers Matrix
105
106 The CPAN Testers Matrix is a website that provides a visual
107 overview of the test results for a distribution on various
108 Perls/platforms.
109
110 <http://matrix.cpantesters.org/?dist=Clipboard>
111
112 · CPAN Testers Dependencies
113
114 The CPAN Testers Dependencies is a website that shows a chart of
115 the test results of all dependencies for a distribution.
116
117 <http://deps.cpantesters.org/?module=Clipboard>
118
119 Bugs / Feature Requests
120 Please report any bugs or feature requests by email to "bug-clipboard
121 at rt.cpan.org", or through the web interface at
122 <https://rt.cpan.org/Public/Bug/Report.html?Queue=Clipboard>. You will
123 be automatically notified of any progress on the request by the system.
124
125 Source Code
126 The code is open to the world, and available for you to hack on. Please
127 feel free to browse it and play with it, or whatever. If you want to
128 contribute patches, please send me a diff or prod me to pull from your
129 repository :)
130
131 <https://github.com/shlomif/clipboard>
132
133 git clone https://github.com/shlomif/Clipboard
134
136 Shlomi Fish <shlomif@cpan.org>
137
139 Please report any bugs or feature requests on the bugtracker website
140 <https://github.com/shlomif/clipboard/issues>
141
142 When submitting a bug or request, please include a test-file or a patch
143 to an existing test-file that illustrates the bug or desired feature.
144
146 This software is copyright (c) 2019 by Ryan King <rking@panoptic.com>.
147
148 This is free software; you can redistribute it and/or modify it under
149 the same terms as the Perl 5 programming language system itself.
150
151
152
153perl v5.30.1 2020-01-29 Clipboard(3)