1Clipboard(3) User Contributed Perl Documentation Clipboard(3)
2
3
4
6 Clipboard - Copy and paste with any OS
7
9 version 0.28
10
12 use Clipboard;
13 print Clipboard->paste;
14 Clipboard->copy('foo');
15 # Same as copy on non-X / non-Xclip systems
16 Clipboard->copy_to_all_selections('text_to_copy');
17
18 Clipboard->cut() is an alias for copy(). copy() is the preferred
19 method, because we're not really "cutting" anything.
20
22 Who doesn't remember the first time they learned to copy and paste, and
23 generated an exponentially growing text document? Yes, that's right,
24 clipboards are magical.
25
26 With Clipboard.pm, this magic is now trivial to access, in a cross-
27 platform-consistent API, from your Perl code.
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 • RT: CPAN's Bug Tracker
64
65 The RT ( Request Tracker ) website is the default bug/issue
66 tracking system for CPAN.
67
68 <https://rt.cpan.org/Public/Dist/Display.html?Name=Clipboard>
69
70 • CPANTS
71
72 The CPANTS is a website that analyzes the Kwalitee ( code metrics )
73 of a distribution.
74
75 <http://cpants.cpanauthors.org/dist/Clipboard>
76
77 • CPAN Testers
78
79 The CPAN Testers is a network of smoke testers who run automated
80 tests on uploaded CPAN distributions.
81
82 <http://www.cpantesters.org/distro/C/Clipboard>
83
84 • CPAN Testers Matrix
85
86 The CPAN Testers Matrix is a website that provides a visual
87 overview of the test results for a distribution on various
88 Perls/platforms.
89
90 <http://matrix.cpantesters.org/?dist=Clipboard>
91
92 • CPAN Testers Dependencies
93
94 The CPAN Testers Dependencies is a website that shows a chart of
95 the test results of all dependencies for a distribution.
96
97 <http://deps.cpantesters.org/?module=Clipboard>
98
99 Bugs / Feature Requests
100 Please report any bugs or feature requests by email to "bug-clipboard
101 at rt.cpan.org", or through the web interface at
102 <https://rt.cpan.org/Public/Bug/Report.html?Queue=Clipboard>. You will
103 be automatically notified of any progress on the request by the system.
104
105 Source Code
106 The code is open to the world, and available for you to hack on. Please
107 feel free to browse it and play with it, or whatever. If you want to
108 contribute patches, please send me a diff or prod me to pull from your
109 repository :)
110
111 <https://github.com/shlomif/Clipboard>
112
113 git clone git://github.com/shlomif/Clipboard.git
114
116 Shlomi Fish <shlomif@cpan.org>
117
119 Please report any bugs or feature requests on the bugtracker website
120 <https://github.com/shlomif/Clipboard/issues>
121
122 When submitting a bug or request, please include a test-file or a patch
123 to an existing test-file that illustrates the bug or desired feature.
124
126 This software is copyright (c) 2021 by Ryan King <rking@panoptic.com>.
127
128 This is free software; you can redistribute it and/or modify it under
129 the same terms as the Perl 5 programming language system itself.
130
131
132
133perl v5.34.0 2022-01-21 Clipboard(3)