Codebase list libclass-accessor-class-perl / 62f9a2c
Imported Upstream version 0.502 Jonas Smedegaard 10 years ago
17 changed file(s) with 1193 addition(s) and 510 deletion(s). Raw diff Collapse all Expand all
00 Revision history for Class-Accessor-Class
11
2 0.501 2006-11-13
3 kwalitee improvements
2 0.502 2013-07-01 19:33:05 America/New_York
3 repackage, update bugtracker
44
5 0.500 2006-06-08 14:20
6 sever implementation from Class::Accessor, which changed and broke us
7 added long-ago-written but not included test to manifest
5 0.501 2006-11-13
6 kwalitee improvements
87
9 0.12 2004-09-29 14:20
10 make accessors for one class/field re-retrievable
8 0.500 2006-06-08 14:20
9 sever implementation from Class::Accessor, which changed and broke us
10 added long-ago-written but not included test to manifest
1111
12 0.10 2004-09-29 13:20
13 first release
12 0.12 2004-09-29 14:20
13 make accessors for one class/field re-retrievable
1414
15 0.10 2004-09-29 13:20
16 first release
17
+346
-344
LICENSE less more
0 Terms of Perl itself
0 This software is copyright (c) 2004 by Ricardo SIGNES.
1
2 This is free software; you can redistribute it and/or modify it under
3 the same terms as the Perl 5 programming language system itself.
4
5 Terms of the Perl programming language system itself
16
27 a) the GNU General Public License as published by the Free
38 Software Foundation; either version 1, or (at your option) any
49 later version, or
510 b) the "Artistic License"
611
7 ----------------------------------------------------------------------------
8
9 The General Public License (GPL)
10 Version 2, June 1991
11
12 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave,
13 Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute
14 verbatim copies of this license document, but changing it is not allowed.
15
16 Preamble
17
18 The licenses for most software are designed to take away your freedom to share
19 and change it. By contrast, the GNU General Public License is intended to
20 guarantee your freedom to share and change free software--to make sure the
21 software is free for all its users. This General Public License applies to most of
22 the Free Software Foundation's software and to any other program whose
23 authors commit to using it. (Some other Free Software Foundation software is
24 covered by the GNU Library General Public License instead.) You can apply it to
25 your programs, too.
26
27 When we speak of free software, we are referring to freedom, not price. Our
28 General Public Licenses are designed to make sure that you have the freedom
29 to distribute copies of free software (and charge for this service if you wish), that
30 you receive source code or can get it if you want it, that you can change the
31 software or use pieces of it in new free programs; and that you know you can do
32 these things.
33
34 To protect your rights, we need to make restrictions that forbid anyone to deny
35 you these rights or to ask you to surrender the rights. These restrictions
36 translate to certain responsibilities for you if you distribute copies of the
37 software, or if you modify it.
38
39 For example, if you distribute copies of such a program, whether gratis or for a
40 fee, you must give the recipients all the rights that you have. You must make
41 sure that they, too, receive or can get the source code. And you must show
42 them these terms so they know their rights.
43
44 We protect your rights with two steps: (1) copyright the software, and (2) offer
45 you this license which gives you legal permission to copy, distribute and/or
46 modify the software.
47
48 Also, for each author's protection and ours, we want to make certain that
49 everyone understands that there is no warranty for this free software. If the
50 software is modified by someone else and passed on, we want its recipients to
51 know that what they have is not the original, so that any problems introduced by
52 others will not reflect on the original authors' reputations.
53
54 Finally, any free program is threatened constantly by software patents. We wish
55 to avoid the danger that redistributors of a free program will individually obtain
56 patent licenses, in effect making the program proprietary. To prevent this, we
57 have made it clear that any patent must be licensed for everyone's free use or
58 not licensed at all.
59
60 The precise terms and conditions for copying, distribution and modification
61 follow.
62
63 GNU GENERAL PUBLIC LICENSE
64 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND
65 MODIFICATION
66
67 0. This License applies to any program or other work which contains a notice
68 placed by the copyright holder saying it may be distributed under the terms of
69 this General Public License. The "Program", below, refers to any such program
70 or work, and a "work based on the Program" means either the Program or any
71 derivative work under copyright law: that is to say, a work containing the
72 Program or a portion of it, either verbatim or with modifications and/or translated
73 into another language. (Hereinafter, translation is included without limitation in
74 the term "modification".) Each licensee is addressed as "you".
75
76 Activities other than copying, distribution and modification are not covered by
77 this License; they are outside its scope. The act of running the Program is not
78 restricted, and the output from the Program is covered only if its contents
79 constitute a work based on the Program (independent of having been made by
80 running the Program). Whether that is true depends on what the Program does.
81
82 1. You may copy and distribute verbatim copies of the Program's source code as
83 you receive it, in any medium, provided that you conspicuously and appropriately
84 publish on each copy an appropriate copyright notice and disclaimer of warranty;
85 keep intact all the notices that refer to this License and to the absence of any
86 warranty; and give any other recipients of the Program a copy of this License
87 along with the Program.
88
89 You may charge a fee for the physical act of transferring a copy, and you may at
90 your option offer warranty protection in exchange for a fee.
91
92 2. You may modify your copy or copies of the Program or any portion of it, thus
93 forming a work based on the Program, and copy and distribute such
94 modifications or work under the terms of Section 1 above, provided that you also
95 meet all of these conditions:
96
97 a) You must cause the modified files to carry prominent notices stating that you
98 changed the files and the date of any change.
99
100 b) You must cause any work that you distribute or publish, that in whole or in
101 part contains or is derived from the Program or any part thereof, to be licensed
102 as a whole at no charge to all third parties under the terms of this License.
103
104 c) If the modified program normally reads commands interactively when run, you
105 must cause it, when started running for such interactive use in the most ordinary
106 way, to print or display an announcement including an appropriate copyright
107 notice and a notice that there is no warranty (or else, saying that you provide a
108 warranty) and that users may redistribute the program under these conditions,
109 and telling the user how to view a copy of this License. (Exception: if the
110 Program itself is interactive but does not normally print such an announcement,
111 your work based on the Program is not required to print an announcement.)
112
113 These requirements apply to the modified work as a whole. If identifiable
114 sections of that work are not derived from the Program, and can be reasonably
115 considered independent and separate works in themselves, then this License,
116 and its terms, do not apply to those sections when you distribute them as
117 separate works. But when you distribute the same sections as part of a whole
118 which is a work based on the Program, the distribution of the whole must be on
119 the terms of this License, whose permissions for other licensees extend to the
120 entire whole, and thus to each and every part regardless of who wrote it.
121
122 Thus, it is not the intent of this section to claim rights or contest your rights to
123 work written entirely by you; rather, the intent is to exercise the right to control
124 the distribution of derivative or collective works based on the Program.
125
126 In addition, mere aggregation of another work not based on the Program with the
127 Program (or with a work based on the Program) on a volume of a storage or
128 distribution medium does not bring the other work under the scope of this
129 License.
130
131 3. You may copy and distribute the Program (or a work based on it, under
132 Section 2) in object code or executable form under the terms of Sections 1 and 2
133 above provided that you also do one of the following:
134
135 a) Accompany it with the complete corresponding machine-readable source
136 code, which must be distributed under the terms of Sections 1 and 2 above on a
137 medium customarily used for software interchange; or,
138
139 b) Accompany it with a written offer, valid for at least three years, to give any
140 third party, for a charge no more than your cost of physically performing source
141 distribution, a complete machine-readable copy of the corresponding source
142 code, to be distributed under the terms of Sections 1 and 2 above on a medium
143 customarily used for software interchange; or,
144
145 c) Accompany it with the information you received as to the offer to distribute
146 corresponding source code. (This alternative is allowed only for noncommercial
147 distribution and only if you received the program in object code or executable
148 form with such an offer, in accord with Subsection b above.)
149
150 The source code for a work means the preferred form of the work for making
151 modifications to it. For an executable work, complete source code means all the
152 source code for all modules it contains, plus any associated interface definition
153 files, plus the scripts used to control compilation and installation of the
154 executable. However, as a special exception, the source code distributed need
155 not include anything that is normally distributed (in either source or binary form)
156 with the major components (compiler, kernel, and so on) of the operating system
157 on which the executable runs, unless that component itself accompanies the
158 executable.
159
160 If distribution of executable or object code is made by offering access to copy
161 from a designated place, then offering equivalent access to copy the source
162 code from the same place counts as distribution of the source code, even though
163 third parties are not compelled to copy the source along with the object code.
164
165 4. You may not copy, modify, sublicense, or distribute the Program except as
166 expressly provided under this License. Any attempt otherwise to copy, modify,
167 sublicense or distribute the Program is void, and will automatically terminate
168 your rights under this License. However, parties who have received copies, or
169 rights, from you under this License will not have their licenses terminated so long
170 as such parties remain in full compliance.
171
172 5. You are not required to accept this License, since you have not signed it.
173 However, nothing else grants you permission to modify or distribute the Program
174 or its derivative works. These actions are prohibited by law if you do not accept
175 this License. Therefore, by modifying or distributing the Program (or any work
176 based on the Program), you indicate your acceptance of this License to do so,
177 and all its terms and conditions for copying, distributing or modifying the
178 Program or works based on it.
179
180 6. Each time you redistribute the Program (or any work based on the Program),
181 the recipient automatically receives a license from the original licensor to copy,
182 distribute or modify the Program subject to these terms and conditions. You
183 may not impose any further restrictions on the recipients' exercise of the rights
184 granted herein. You are not responsible for enforcing compliance by third parties
185 to this License.
186
187 7. If, as a consequence of a court judgment or allegation of patent infringement
188 or for any other reason (not limited to patent issues), conditions are imposed on
189 you (whether by court order, agreement or otherwise) that contradict the
190 conditions of this License, they do not excuse you from the conditions of this
191 License. If you cannot distribute so as to satisfy simultaneously your obligations
192 under this License and any other pertinent obligations, then as a consequence
193 you may not distribute the Program at all. For example, if a patent license would
194 not permit royalty-free redistribution of the Program by all those who receive
195 copies directly or indirectly through you, then the only way you could satisfy
196 both it and this License would be to refrain entirely from distribution of the
197 Program.
198
199 If any portion of this section is held invalid or unenforceable under any particular
200 circumstance, the balance of the section is intended to apply and the section as
201 a whole is intended to apply in other circumstances.
202
203 It is not the purpose of this section to induce you to infringe any patents or other
204 property right claims or to contest validity of any such claims; this section has
205 the sole purpose of protecting the integrity of the free software distribution
206 system, which is implemented by public license practices. Many people have
207 made generous contributions to the wide range of software distributed through
208 that system in reliance on consistent application of that system; it is up to the
209 author/donor to decide if he or she is willing to distribute software through any
210 other system and a licensee cannot impose that choice.
211
212 This section is intended to make thoroughly clear what is believed to be a
213 consequence of the rest of this License.
214
215 8. If the distribution and/or use of the Program is restricted in certain countries
216 either by patents or by copyrighted interfaces, the original copyright holder who
217 places the Program under this License may add an explicit geographical
218 distribution limitation excluding those countries, so that distribution is permitted
219 only in or among countries not thus excluded. In such case, this License
220 incorporates the limitation as if written in the body of this License.
221
222 9. The Free Software Foundation may publish revised and/or new versions of the
223 General Public License from time to time. Such new versions will be similar in
224 spirit to the present version, but may differ in detail to address new problems or
225 concerns.
226
227 Each version is given a distinguishing version number. If the Program specifies a
228 version number of this License which applies to it and "any later version", you
229 have the option of following the terms and conditions either of that version or of
230 any later version published by the Free Software Foundation. If the Program does
231 not specify a version number of this License, you may choose any version ever
232 published by the Free Software Foundation.
233
234 10. If you wish to incorporate parts of the Program into other free programs
235 whose distribution conditions are different, write to the author to ask for
236 permission. For software which is copyrighted by the Free Software Foundation,
237 write to the Free Software Foundation; we sometimes make exceptions for this.
238 Our decision will be guided by the two goals of preserving the free status of all
239 derivatives of our free software and of promoting the sharing and reuse of
240 software generally.
241
242 NO WARRANTY
243
244 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS
245 NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
246 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE
247 COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM
248 "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
249 IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
250 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
251 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
252 PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
253 YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
254 CORRECTION.
255
256 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED
257 TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY
258 WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS
259 PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
260 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
261 ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
262 (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
263 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
264 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY
265 OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS
266 BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
267
268 END OF TERMS AND CONDITIONS
269
270
271 ----------------------------------------------------------------------------
12 --- The GNU General Public License, Version 1, February 1989 ---
13
14 This software is Copyright (c) 2004 by Ricardo SIGNES.
15
16 This is free software, licensed under:
17
18 The GNU General Public License, Version 1, February 1989
19
20 GNU GENERAL PUBLIC LICENSE
21 Version 1, February 1989
22
23 Copyright (C) 1989 Free Software Foundation, Inc.
24 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
25
26 Everyone is permitted to copy and distribute verbatim copies
27 of this license document, but changing it is not allowed.
28
29 Preamble
30
31 The license agreements of most software companies try to keep users
32 at the mercy of those companies. By contrast, our General Public
33 License is intended to guarantee your freedom to share and change free
34 software--to make sure the software is free for all its users. The
35 General Public License applies to the Free Software Foundation's
36 software and to any other program whose authors commit to using it.
37 You can use it for your programs, too.
38
39 When we speak of free software, we are referring to freedom, not
40 price. Specifically, the General Public License is designed to make
41 sure that you have the freedom to give away or sell copies of free
42 software, that you receive source code or can get it if you want it,
43 that you can change the software or use pieces of it in new free
44 programs; and that you know you can do these things.
45
46 To protect your rights, we need to make restrictions that forbid
47 anyone to deny you these rights or to ask you to surrender the rights.
48 These restrictions translate to certain responsibilities for you if you
49 distribute copies of the software, or if you modify it.
50
51 For example, if you distribute copies of a such a program, whether
52 gratis or for a fee, you must give the recipients all the rights that
53 you have. You must make sure that they, too, receive or can get the
54 source code. And you must tell them their rights.
55
56 We protect your rights with two steps: (1) copyright the software, and
57 (2) offer you this license which gives you legal permission to copy,
58 distribute and/or modify the software.
59
60 Also, for each author's protection and ours, we want to make certain
61 that everyone understands that there is no warranty for this free
62 software. If the software is modified by someone else and passed on, we
63 want its recipients to know that what they have is not the original, so
64 that any problems introduced by others will not reflect on the original
65 authors' reputations.
66
67 The precise terms and conditions for copying, distribution and
68 modification follow.
69
70 GNU GENERAL PUBLIC LICENSE
71 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
72
73 0. This License Agreement applies to any program or other work which
74 contains a notice placed by the copyright holder saying it may be
75 distributed under the terms of this General Public License. The
76 "Program", below, refers to any such program or work, and a "work based
77 on the Program" means either the Program or any work containing the
78 Program or a portion of it, either verbatim or with modifications. Each
79 licensee is addressed as "you".
80
81 1. You may copy and distribute verbatim copies of the Program's source
82 code as you receive it, in any medium, provided that you conspicuously and
83 appropriately publish on each copy an appropriate copyright notice and
84 disclaimer of warranty; keep intact all the notices that refer to this
85 General Public License and to the absence of any warranty; and give any
86 other recipients of the Program a copy of this General Public License
87 along with the Program. You may charge a fee for the physical act of
88 transferring a copy.
89
90 2. You may modify your copy or copies of the Program or any portion of
91 it, and copy and distribute such modifications under the terms of Paragraph
92 1 above, provided that you also do the following:
93
94 a) cause the modified files to carry prominent notices stating that
95 you changed the files and the date of any change; and
96
97 b) cause the whole of any work that you distribute or publish, that
98 in whole or in part contains the Program or any part thereof, either
99 with or without modifications, to be licensed at no charge to all
100 third parties under the terms of this General Public License (except
101 that you may choose to grant warranty protection to some or all
102 third parties, at your option).
103
104 c) If the modified program normally reads commands interactively when
105 run, you must cause it, when started running for such interactive use
106 in the simplest and most usual way, to print or display an
107 announcement including an appropriate copyright notice and a notice
108 that there is no warranty (or else, saying that you provide a
109 warranty) and that users may redistribute the program under these
110 conditions, and telling the user how to view a copy of this General
111 Public License.
112
113 d) You may charge a fee for the physical act of transferring a
114 copy, and you may at your option offer warranty protection in
115 exchange for a fee.
116
117 Mere aggregation of another independent work with the Program (or its
118 derivative) on a volume of a storage or distribution medium does not bring
119 the other work under the scope of these terms.
120
121 3. You may copy and distribute the Program (or a portion or derivative of
122 it, under Paragraph 2) in object code or executable form under the terms of
123 Paragraphs 1 and 2 above provided that you also do one of the following:
124
125 a) accompany it with the complete corresponding machine-readable
126 source code, which must be distributed under the terms of
127 Paragraphs 1 and 2 above; or,
128
129 b) accompany it with a written offer, valid for at least three
130 years, to give any third party free (except for a nominal charge
131 for the cost of distribution) a complete machine-readable copy of the
132 corresponding source code, to be distributed under the terms of
133 Paragraphs 1 and 2 above; or,
134
135 c) accompany it with the information you received as to where the
136 corresponding source code may be obtained. (This alternative is
137 allowed only for noncommercial distribution and only if you
138 received the program in object code or executable form alone.)
139
140 Source code for a work means the preferred form of the work for making
141 modifications to it. For an executable file, complete source code means
142 all the source code for all modules it contains; but, as a special
143 exception, it need not include source code for modules which are standard
144 libraries that accompany the operating system on which the executable
145 file runs, or for standard header files or definitions files that
146 accompany that operating system.
147
148 4. You may not copy, modify, sublicense, distribute or transfer the
149 Program except as expressly provided under this General Public License.
150 Any attempt otherwise to copy, modify, sublicense, distribute or transfer
151 the Program is void, and will automatically terminate your rights to use
152 the Program under this License. However, parties who have received
153 copies, or rights to use copies, from you under this General Public
154 License will not have their licenses terminated so long as such parties
155 remain in full compliance.
156
157 5. By copying, distributing or modifying the Program (or any work based
158 on the Program) you indicate your acceptance of this license to do so,
159 and all its terms and conditions.
160
161 6. Each time you redistribute the Program (or any work based on the
162 Program), the recipient automatically receives a license from the original
163 licensor to copy, distribute or modify the Program subject to these
164 terms and conditions. You may not impose any further restrictions on the
165 recipients' exercise of the rights granted herein.
166
167 7. The Free Software Foundation may publish revised and/or new versions
168 of the General Public License from time to time. Such new versions will
169 be similar in spirit to the present version, but may differ in detail to
170 address new problems or concerns.
171
172 Each version is given a distinguishing version number. If the Program
173 specifies a version number of the license which applies to it and "any
174 later version", you have the option of following the terms and conditions
175 either of that version or of any later version published by the Free
176 Software Foundation. If the Program does not specify a version number of
177 the license, you may choose any version ever published by the Free Software
178 Foundation.
179
180 8. If you wish to incorporate parts of the Program into other free
181 programs whose distribution conditions are different, write to the author
182 to ask for permission. For software which is copyrighted by the Free
183 Software Foundation, write to the Free Software Foundation; we sometimes
184 make exceptions for this. Our decision will be guided by the two goals
185 of preserving the free status of all derivatives of our free software and
186 of promoting the sharing and reuse of software generally.
187
188 NO WARRANTY
189
190 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
191 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
192 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
193 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
194 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
195 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
196 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
197 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
198 REPAIR OR CORRECTION.
199
200 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
201 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
202 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
203 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
204 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
205 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
206 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
207 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
208 POSSIBILITY OF SUCH DAMAGES.
209
210 END OF TERMS AND CONDITIONS
211
212 Appendix: How to Apply These Terms to Your New Programs
213
214 If you develop a new program, and you want it to be of the greatest
215 possible use to humanity, the best way to achieve this is to make it
216 free software which everyone can redistribute and change under these
217 terms.
218
219 To do so, attach the following notices to the program. It is safest to
220 attach them to the start of each source file to most effectively convey
221 the exclusion of warranty; and each file should have at least the
222 "copyright" line and a pointer to where the full notice is found.
223
224 <one line to give the program's name and a brief idea of what it does.>
225 Copyright (C) 19yy <name of author>
226
227 This program is free software; you can redistribute it and/or modify
228 it under the terms of the GNU General Public License as published by
229 the Free Software Foundation; either version 1, or (at your option)
230 any later version.
231
232 This program is distributed in the hope that it will be useful,
233 but WITHOUT ANY WARRANTY; without even the implied warranty of
234 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
235 GNU General Public License for more details.
236
237 You should have received a copy of the GNU General Public License
238 along with this program; if not, write to the Free Software
239 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
240
241
242 Also add information on how to contact you by electronic and paper mail.
243
244 If the program is interactive, make it output a short notice like this
245 when it starts in an interactive mode:
246
247 Gnomovision version 69, Copyright (C) 19xx name of author
248 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
249 This is free software, and you are welcome to redistribute it
250 under certain conditions; type `show c' for details.
251
252 The hypothetical commands `show w' and `show c' should show the
253 appropriate parts of the General Public License. Of course, the
254 commands you use may be called something other than `show w' and `show
255 c'; they could even be mouse-clicks or menu items--whatever suits your
256 program.
257
258 You should also get your employer (if you work as a programmer) or your
259 school, if any, to sign a "copyright disclaimer" for the program, if
260 necessary. Here a sample; alter the names:
261
262 Yoyodyne, Inc., hereby disclaims all copyright interest in the
263 program `Gnomovision' (a program to direct compilers to make passes
264 at assemblers) written by James Hacker.
265
266 <signature of Ty Coon>, 1 April 1989
267 Ty Coon, President of Vice
268
269 That's all there is to it!
270
271
272 --- The Artistic License 1.0 ---
273
274 This software is Copyright (c) 2004 by Ricardo SIGNES.
275
276 This is free software, licensed under:
277
278 The Artistic License 1.0
272279
273280 The Artistic License
274281
276283
277284 The intent of this document is to state the conditions under which a Package
278285 may be copied, such that the Copyright Holder maintains some semblance of
279 artistic control over the development of the package, while giving the users of the
280 package the right to use and distribute the Package in a more-or-less customary
281 fashion, plus the right to make reasonable modifications.
286 artistic control over the development of the package, while giving the users of
287 the package the right to use and distribute the Package in a more-or-less
288 customary fashion, plus the right to make reasonable modifications.
282289
283290 Definitions:
284291
285 - "Package" refers to the collection of files distributed by the Copyright
286 Holder, and derivatives of that collection of files created through textual
287 modification.
288 - "Standard Version" refers to such a Package if it has not been modified,
289 or has been modified in accordance with the wishes of the Copyright
290 Holder.
291 - "Copyright Holder" is whoever is named in the copyright or copyrights for
292 the package.
293 - "You" is you, if you're thinking about copying or distributing this Package.
294 - "Reasonable copying fee" is whatever you can justify on the basis of
295 media cost, duplication charges, time of people involved, and so on. (You
296 will not be required to justify it to the Copyright Holder, but only to the
297 computing community at large as a market that must bear the fee.)
298 - "Freely Available" means that no fee is charged for the item itself, though
299 there may be fees involved in handling the item. It also means that
300 recipients of the item may redistribute it under the same conditions they
301 received it.
292 - "Package" refers to the collection of files distributed by the Copyright
293 Holder, and derivatives of that collection of files created through
294 textual modification.
295 - "Standard Version" refers to such a Package if it has not been modified,
296 or has been modified in accordance with the wishes of the Copyright
297 Holder.
298 - "Copyright Holder" is whoever is named in the copyright or copyrights for
299 the package.
300 - "You" is you, if you're thinking about copying or distributing this Package.
301 - "Reasonable copying fee" is whatever you can justify on the basis of media
302 cost, duplication charges, time of people involved, and so on. (You will
303 not be required to justify it to the Copyright Holder, but only to the
304 computing community at large as a market that must bear the fee.)
305 - "Freely Available" means that no fee is charged for the item itself, though
306 there may be fees involved in handling the item. It also means that
307 recipients of the item may redistribute it under the same conditions they
308 received it.
302309
303310 1. You may make and give away verbatim copies of the source form of the
304 Standard Version of this Package without restriction, provided that you duplicate
305 all of the original copyright notices and associated disclaimers.
306
307 2. You may apply bug fixes, portability fixes and other modifications derived from
308 the Public Domain or from the Copyright Holder. A Package modified in such a
309 way shall still be considered the Standard Version.
310
311 3. You may otherwise modify your copy of this Package in any way, provided
312 that you insert a prominent notice in each changed file stating how and when
313 you changed that file, and provided that you do at least ONE of the following:
314
315 a) place your modifications in the Public Domain or otherwise
316 make them Freely Available, such as by posting said modifications
317 to Usenet or an equivalent medium, or placing the modifications on
318 a major archive site such as ftp.uu.net, or by allowing the
319 Copyright Holder to include your modifications in the Standard
320 Version of the Package.
321
322 b) use the modified Package only within your corporation or
323 organization.
324
325 c) rename any non-standard executables so the names do not
326 conflict with standard executables, which must also be provided,
327 and provide a separate manual page for each non-standard
328 executable that clearly documents how it differs from the Standard
329 Version.
330
331 d) make other distribution arrangements with the Copyright Holder.
311 Standard Version of this Package without restriction, provided that you
312 duplicate all of the original copyright notices and associated disclaimers.
313
314 2. You may apply bug fixes, portability fixes and other modifications derived
315 from the Public Domain or from the Copyright Holder. A Package modified in such
316 a way shall still be considered the Standard Version.
317
318 3. You may otherwise modify your copy of this Package in any way, provided that
319 you insert a prominent notice in each changed file stating how and when you
320 changed that file, and provided that you do at least ONE of the following:
321
322 a) place your modifications in the Public Domain or otherwise make them
323 Freely Available, such as by posting said modifications to Usenet or an
324 equivalent medium, or placing the modifications on a major archive site
325 such as ftp.uu.net, or by allowing the Copyright Holder to include your
326 modifications in the Standard Version of the Package.
327
328 b) use the modified Package only within your corporation or organization.
329
330 c) rename any non-standard executables so the names do not conflict with
331 standard executables, which must also be provided, and provide a separate
332 manual page for each non-standard executable that clearly documents how it
333 differs from the Standard Version.
334
335 d) make other distribution arrangements with the Copyright Holder.
332336
333337 4. You may distribute the programs of this Package in object code or executable
334338 form, provided that you do at least ONE of the following:
335339
336 a) distribute a Standard Version of the executables and library
337 files, together with instructions (in the manual page or equivalent)
338 on where to get the Standard Version.
339
340 b) accompany the distribution with the machine-readable source of
341 the Package with your modifications.
342
343 c) accompany any non-standard executables with their
344 corresponding Standard Version executables, giving the
345 non-standard executables non-standard names, and clearly
346 documenting the differences in manual pages (or equivalent),
347 together with instructions on where to get the Standard Version.
348
349 d) make other distribution arrangements with the Copyright Holder.
350
351 5. You may charge a reasonable copying fee for any distribution of this Package.
352 You may charge any fee you choose for support of this Package. You may not
353 charge a fee for this Package itself. However, you may distribute this Package in
354 aggregate with other (possibly commercial) programs as part of a larger
355 (possibly commercial) software distribution provided that you do not advertise
356 this Package as a product of your own.
357
358 6. The scripts and library files supplied as input to or produced as output from
359 the programs of this Package do not automatically fall under the copyright of this
360 Package, but belong to whomever generated them, and may be sold
340 a) distribute a Standard Version of the executables and library files,
341 together with instructions (in the manual page or equivalent) on where to
342 get the Standard Version.
343
344 b) accompany the distribution with the machine-readable source of the Package
345 with your modifications.
346
347 c) accompany any non-standard executables with their corresponding Standard
348 Version executables, giving the non-standard executables non-standard
349 names, and clearly documenting the differences in manual pages (or
350 equivalent), together with instructions on where to get the Standard
351 Version.
352
353 d) make other distribution arrangements with the Copyright Holder.
354
355 5. You may charge a reasonable copying fee for any distribution of this
356 Package. You may charge any fee you choose for support of this Package. You
357 may not charge a fee for this Package itself. However, you may distribute this
358 Package in aggregate with other (possibly commercial) programs as part of a
359 larger (possibly commercial) software distribution provided that you do not
360 advertise this Package as a product of your own.
361
362 6. The scripts and library files supplied as input to or produced as output
363 from the programs of this Package do not automatically fall under the copyright
364 of this Package, but belong to whomever generated them, and may be sold
361365 commercially, and may be aggregated with this Package.
362366
363367 7. C or perl subroutines supplied by you and linked into this Package shall not
366370 8. The name of the Copyright Holder may not be used to endorse or promote
367371 products derived from this software without specific prior written permission.
368372
369 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
370 IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
371 WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
372 PURPOSE.
373 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
374 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
375 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
373376
374377 The End
375378
376
00 Changes
1 LICENSE
12 MANIFEST
3 META.json
4 META.yml
25 Makefile.PL
36 README
7 dist.ini
48 lib/Class/Accessor/Class.pm
5 t/00-load.t
6 t/pod-coverage.t
7 t/pod.t
9 t/00-compile.t
10 t/000-report-versions-tiny.t
811 t/basic.t
912 t/duplicate.t
1013 t/package.t
11 t/perl-critic.t
12 LICENSE
13 META.yml Module meta-data (added by MakeMaker)
14 xt/release/changes_has_content.t
15 xt/release/pod-syntax.t
0 {
1 "abstract" : "simple class variable accessors",
2 "author" : [
3 "Ricardo SIGNES <rjbs@cpan.org>"
4 ],
5 "dynamic_config" : 0,
6 "generated_by" : "Dist::Zilla version 4.300035, CPAN::Meta::Converter version 2.131560",
7 "license" : [
8 "perl_5"
9 ],
10 "meta-spec" : {
11 "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
12 "version" : "2"
13 },
14 "name" : "Class-Accessor-Class",
15 "prereqs" : {
16 "configure" : {
17 "requires" : {
18 "ExtUtils::MakeMaker" : "6.30"
19 }
20 },
21 "develop" : {
22 "requires" : {
23 "Test::Pod" : "1.41",
24 "version" : "0.9901"
25 }
26 },
27 "runtime" : {
28 "requires" : {
29 "Class::Accessor" : "0.16",
30 "parent" : "0",
31 "strict" : "0",
32 "warnings" : "0"
33 }
34 },
35 "test" : {
36 "requires" : {
37 "File::Find" : "0",
38 "File::Temp" : "0",
39 "Test::More" : "0.96"
40 }
41 }
42 },
43 "release_status" : "stable",
44 "resources" : {
45 "bugtracker" : {
46 "web" : "https://github.com/rjbs/class-accessor-class/issues"
47 },
48 "homepage" : "https://github.com/rjbs/class-accessor-class",
49 "repository" : {
50 "type" : "git",
51 "url" : "https://github.com/rjbs/class-accessor-class.git",
52 "web" : "https://github.com/rjbs/class-accessor-class"
53 }
54 },
55 "version" : "0.502",
56 "x_Dist_Zilla" : {
57 "perl" : {
58 "version" : "5.019001"
59 },
60 "plugins" : [
61 {
62 "class" : "Dist::Zilla::Plugin::Git::GatherDir",
63 "name" : "@RJBS/Git::GatherDir",
64 "version" : "2.014"
65 },
66 {
67 "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
68 "name" : "@RJBS/CheckPrereqsIndexed",
69 "version" : "0.009"
70 },
71 {
72 "class" : "Dist::Zilla::Plugin::CheckExtraTests",
73 "name" : "@RJBS/CheckExtraTests",
74 "version" : "0.011"
75 },
76 {
77 "class" : "Dist::Zilla::Plugin::PruneCruft",
78 "name" : "@RJBS/@Filter/PruneCruft",
79 "version" : "4.300035"
80 },
81 {
82 "class" : "Dist::Zilla::Plugin::ManifestSkip",
83 "name" : "@RJBS/@Filter/ManifestSkip",
84 "version" : "4.300035"
85 },
86 {
87 "class" : "Dist::Zilla::Plugin::MetaYAML",
88 "name" : "@RJBS/@Filter/MetaYAML",
89 "version" : "4.300035"
90 },
91 {
92 "class" : "Dist::Zilla::Plugin::License",
93 "name" : "@RJBS/@Filter/License",
94 "version" : "4.300035"
95 },
96 {
97 "class" : "Dist::Zilla::Plugin::Readme",
98 "name" : "@RJBS/@Filter/Readme",
99 "version" : "4.300035"
100 },
101 {
102 "class" : "Dist::Zilla::Plugin::ExecDir",
103 "name" : "@RJBS/@Filter/ExecDir",
104 "version" : "4.300035"
105 },
106 {
107 "class" : "Dist::Zilla::Plugin::ShareDir",
108 "name" : "@RJBS/@Filter/ShareDir",
109 "version" : "4.300035"
110 },
111 {
112 "class" : "Dist::Zilla::Plugin::MakeMaker",
113 "name" : "@RJBS/@Filter/MakeMaker",
114 "version" : "4.300035"
115 },
116 {
117 "class" : "Dist::Zilla::Plugin::Manifest",
118 "name" : "@RJBS/@Filter/Manifest",
119 "version" : "4.300035"
120 },
121 {
122 "class" : "Dist::Zilla::Plugin::TestRelease",
123 "name" : "@RJBS/@Filter/TestRelease",
124 "version" : "4.300035"
125 },
126 {
127 "class" : "Dist::Zilla::Plugin::ConfirmRelease",
128 "name" : "@RJBS/@Filter/ConfirmRelease",
129 "version" : "4.300035"
130 },
131 {
132 "class" : "Dist::Zilla::Plugin::UploadToCPAN",
133 "name" : "@RJBS/@Filter/UploadToCPAN",
134 "version" : "4.300035"
135 },
136 {
137 "class" : "Dist::Zilla::Plugin::AutoPrereqs",
138 "name" : "@RJBS/AutoPrereqs",
139 "version" : "4.300035"
140 },
141 {
142 "class" : "Dist::Zilla::Plugin::Git::NextVersion",
143 "name" : "@RJBS/Git::NextVersion",
144 "version" : "2.014"
145 },
146 {
147 "class" : "Dist::Zilla::Plugin::PkgVersion",
148 "name" : "@RJBS/PkgVersion",
149 "version" : "4.300035"
150 },
151 {
152 "class" : "Dist::Zilla::Plugin::MetaConfig",
153 "name" : "@RJBS/MetaConfig",
154 "version" : "4.300035"
155 },
156 {
157 "class" : "Dist::Zilla::Plugin::MetaJSON",
158 "name" : "@RJBS/MetaJSON",
159 "version" : "4.300035"
160 },
161 {
162 "class" : "Dist::Zilla::Plugin::NextRelease",
163 "name" : "@RJBS/NextRelease",
164 "version" : "4.300035"
165 },
166 {
167 "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
168 "name" : "@RJBS/Test::ChangesHasContent",
169 "version" : "0.006"
170 },
171 {
172 "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
173 "name" : "@RJBS/PodSyntaxTests",
174 "version" : "4.300035"
175 },
176 {
177 "class" : "Dist::Zilla::Plugin::Test::Compile",
178 "name" : "@RJBS/Test::Compile",
179 "version" : "2.002"
180 },
181 {
182 "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
183 "name" : "@RJBS/ReportVersions::Tiny",
184 "version" : "1.08"
185 },
186 {
187 "class" : "Dist::Zilla::Plugin::Prereqs",
188 "config" : {
189 "Dist::Zilla::Plugin::Prereqs" : {
190 "phase" : "test",
191 "type" : "requires"
192 }
193 },
194 "name" : "@RJBS/TestMoreWithSubtests",
195 "version" : "4.300035"
196 },
197 {
198 "class" : "Dist::Zilla::Plugin::PodWeaver",
199 "name" : "@RJBS/PodWeaver",
200 "version" : "3.101641"
201 },
202 {
203 "class" : "Dist::Zilla::Plugin::GithubMeta",
204 "name" : "@RJBS/GithubMeta",
205 "version" : "0.28"
206 },
207 {
208 "class" : "Dist::Zilla::Plugin::Git::Check",
209 "name" : "@RJBS/@Git/Check",
210 "version" : "2.014"
211 },
212 {
213 "class" : "Dist::Zilla::Plugin::Git::Commit",
214 "name" : "@RJBS/@Git/Commit",
215 "version" : "2.014"
216 },
217 {
218 "class" : "Dist::Zilla::Plugin::Git::Tag",
219 "name" : "@RJBS/@Git/Tag",
220 "version" : "2.014"
221 },
222 {
223 "class" : "Dist::Zilla::Plugin::Git::Push",
224 "name" : "@RJBS/@Git/Push",
225 "version" : "2.014"
226 },
227 {
228 "class" : "Dist::Zilla::Plugin::FinderCode",
229 "name" : ":InstallModules",
230 "version" : "4.300035"
231 },
232 {
233 "class" : "Dist::Zilla::Plugin::FinderCode",
234 "name" : ":IncModules",
235 "version" : "4.300035"
236 },
237 {
238 "class" : "Dist::Zilla::Plugin::FinderCode",
239 "name" : ":TestFiles",
240 "version" : "4.300035"
241 },
242 {
243 "class" : "Dist::Zilla::Plugin::FinderCode",
244 "name" : ":ExecFiles",
245 "version" : "4.300035"
246 },
247 {
248 "class" : "Dist::Zilla::Plugin::FinderCode",
249 "name" : ":ShareFiles",
250 "version" : "4.300035"
251 },
252 {
253 "class" : "Dist::Zilla::Plugin::FinderCode",
254 "name" : ":MainModule",
255 "version" : "4.300035"
256 }
257 ],
258 "zilla" : {
259 "class" : "Dist::Zilla::Dist::Builder",
260 "config" : {
261 "is_trial" : "0"
262 },
263 "version" : "4.300035"
264 }
265 }
266 }
267
0 --- #YAML:1.0
1 name: Class-Accessor-Class
2 version: 0.501
3 abstract: simple class variable accessors
4 license: perl
5 generated_by: ExtUtils::MakeMaker version 6.31
6 distribution_type: module
7 requires:
8 Class::Accessor: 0.16
9 Test::More: 0
0 ---
1 abstract: 'simple class variable accessors'
2 author:
3 - 'Ricardo SIGNES <rjbs@cpan.org>'
4 build_requires:
5 File::Find: 0
6 File::Temp: 0
7 Test::More: 0.96
8 configure_requires:
9 ExtUtils::MakeMaker: 6.30
10 dynamic_config: 0
11 generated_by: 'Dist::Zilla version 4.300035, CPAN::Meta::Converter version 2.131560'
12 license: perl
1013 meta-spec:
11 url: http://module-build.sourceforge.net/META-spec-v1.2.html
12 version: 1.2
13 author:
14 - Ricardo Signes <rjbs@cpan.org>
14 url: http://module-build.sourceforge.net/META-spec-v1.4.html
15 version: 1.4
16 name: Class-Accessor-Class
17 requires:
18 Class::Accessor: 0.16
19 parent: 0
20 strict: 0
21 warnings: 0
22 resources:
23 bugtracker: https://github.com/rjbs/class-accessor-class/issues
24 homepage: https://github.com/rjbs/class-accessor-class
25 repository: https://github.com/rjbs/class-accessor-class.git
26 version: 0.502
27 x_Dist_Zilla:
28 perl:
29 version: 5.019001
30 plugins:
31 -
32 class: Dist::Zilla::Plugin::Git::GatherDir
33 name: '@RJBS/Git::GatherDir'
34 version: 2.014
35 -
36 class: Dist::Zilla::Plugin::CheckPrereqsIndexed
37 name: '@RJBS/CheckPrereqsIndexed'
38 version: 0.009
39 -
40 class: Dist::Zilla::Plugin::CheckExtraTests
41 name: '@RJBS/CheckExtraTests'
42 version: 0.011
43 -
44 class: Dist::Zilla::Plugin::PruneCruft
45 name: '@RJBS/@Filter/PruneCruft'
46 version: 4.300035
47 -
48 class: Dist::Zilla::Plugin::ManifestSkip
49 name: '@RJBS/@Filter/ManifestSkip'
50 version: 4.300035
51 -
52 class: Dist::Zilla::Plugin::MetaYAML
53 name: '@RJBS/@Filter/MetaYAML'
54 version: 4.300035
55 -
56 class: Dist::Zilla::Plugin::License
57 name: '@RJBS/@Filter/License'
58 version: 4.300035
59 -
60 class: Dist::Zilla::Plugin::Readme
61 name: '@RJBS/@Filter/Readme'
62 version: 4.300035
63 -
64 class: Dist::Zilla::Plugin::ExecDir
65 name: '@RJBS/@Filter/ExecDir'
66 version: 4.300035
67 -
68 class: Dist::Zilla::Plugin::ShareDir
69 name: '@RJBS/@Filter/ShareDir'
70 version: 4.300035
71 -
72 class: Dist::Zilla::Plugin::MakeMaker
73 name: '@RJBS/@Filter/MakeMaker'
74 version: 4.300035
75 -
76 class: Dist::Zilla::Plugin::Manifest
77 name: '@RJBS/@Filter/Manifest'
78 version: 4.300035
79 -
80 class: Dist::Zilla::Plugin::TestRelease
81 name: '@RJBS/@Filter/TestRelease'
82 version: 4.300035
83 -
84 class: Dist::Zilla::Plugin::ConfirmRelease
85 name: '@RJBS/@Filter/ConfirmRelease'
86 version: 4.300035
87 -
88 class: Dist::Zilla::Plugin::UploadToCPAN
89 name: '@RJBS/@Filter/UploadToCPAN'
90 version: 4.300035
91 -
92 class: Dist::Zilla::Plugin::AutoPrereqs
93 name: '@RJBS/AutoPrereqs'
94 version: 4.300035
95 -
96 class: Dist::Zilla::Plugin::Git::NextVersion
97 name: '@RJBS/Git::NextVersion'
98 version: 2.014
99 -
100 class: Dist::Zilla::Plugin::PkgVersion
101 name: '@RJBS/PkgVersion'
102 version: 4.300035
103 -
104 class: Dist::Zilla::Plugin::MetaConfig
105 name: '@RJBS/MetaConfig'
106 version: 4.300035
107 -
108 class: Dist::Zilla::Plugin::MetaJSON
109 name: '@RJBS/MetaJSON'
110 version: 4.300035
111 -
112 class: Dist::Zilla::Plugin::NextRelease
113 name: '@RJBS/NextRelease'
114 version: 4.300035
115 -
116 class: Dist::Zilla::Plugin::Test::ChangesHasContent
117 name: '@RJBS/Test::ChangesHasContent'
118 version: 0.006
119 -
120 class: Dist::Zilla::Plugin::PodSyntaxTests
121 name: '@RJBS/PodSyntaxTests'
122 version: 4.300035
123 -
124 class: Dist::Zilla::Plugin::Test::Compile
125 name: '@RJBS/Test::Compile'
126 version: 2.002
127 -
128 class: Dist::Zilla::Plugin::ReportVersions::Tiny
129 name: '@RJBS/ReportVersions::Tiny'
130 version: 1.08
131 -
132 class: Dist::Zilla::Plugin::Prereqs
133 config:
134 Dist::Zilla::Plugin::Prereqs:
135 phase: test
136 type: requires
137 name: '@RJBS/TestMoreWithSubtests'
138 version: 4.300035
139 -
140 class: Dist::Zilla::Plugin::PodWeaver
141 name: '@RJBS/PodWeaver'
142 version: 3.101641
143 -
144 class: Dist::Zilla::Plugin::GithubMeta
145 name: '@RJBS/GithubMeta'
146 version: 0.28
147 -
148 class: Dist::Zilla::Plugin::Git::Check
149 name: '@RJBS/@Git/Check'
150 version: 2.014
151 -
152 class: Dist::Zilla::Plugin::Git::Commit
153 name: '@RJBS/@Git/Commit'
154 version: 2.014
155 -
156 class: Dist::Zilla::Plugin::Git::Tag
157 name: '@RJBS/@Git/Tag'
158 version: 2.014
159 -
160 class: Dist::Zilla::Plugin::Git::Push
161 name: '@RJBS/@Git/Push'
162 version: 2.014
163 -
164 class: Dist::Zilla::Plugin::FinderCode
165 name: ':InstallModules'
166 version: 4.300035
167 -
168 class: Dist::Zilla::Plugin::FinderCode
169 name: ':IncModules'
170 version: 4.300035
171 -
172 class: Dist::Zilla::Plugin::FinderCode
173 name: ':TestFiles'
174 version: 4.300035
175 -
176 class: Dist::Zilla::Plugin::FinderCode
177 name: ':ExecFiles'
178 version: 4.300035
179 -
180 class: Dist::Zilla::Plugin::FinderCode
181 name: ':ShareFiles'
182 version: 4.300035
183 -
184 class: Dist::Zilla::Plugin::FinderCode
185 name: ':MainModule'
186 version: 4.300035
187 zilla:
188 class: Dist::Zilla::Dist::Builder
189 config:
190 is_trial: 0
191 version: 4.300035
0
01 use strict;
12 use warnings;
2 use ExtUtils::MakeMaker;
33
4 WriteMakefile(
5 NAME => 'Class::Accessor::Class',
6 AUTHOR => 'Ricardo Signes <rjbs@cpan.org>',
7 VERSION_FROM => 'lib/Class/Accessor/Class.pm',
8 ABSTRACT_FROM => 'lib/Class/Accessor/Class.pm',
9 LICENSE => 'perl',
10 PL_FILES => {},
11 PREREQ_PM => {
12 'Class::Accessor' => 0.16,
13 'Test::More' => 0,
14 },
15 dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
16 clean => { FILES => 'Class-Accessor-Class-*' },
4
5
6 use ExtUtils::MakeMaker 6.30;
7
8
9
10 my %WriteMakefileArgs = (
11 "ABSTRACT" => "simple class variable accessors",
12 "AUTHOR" => "Ricardo SIGNES <rjbs\@cpan.org>",
13 "BUILD_REQUIRES" => {},
14 "CONFIGURE_REQUIRES" => {
15 "ExtUtils::MakeMaker" => "6.30"
16 },
17 "DISTNAME" => "Class-Accessor-Class",
18 "EXE_FILES" => [],
19 "LICENSE" => "perl",
20 "NAME" => "Class::Accessor::Class",
21 "PREREQ_PM" => {
22 "Class::Accessor" => "0.16",
23 "parent" => 0,
24 "strict" => 0,
25 "warnings" => 0
26 },
27 "TEST_REQUIRES" => {
28 "File::Find" => 0,
29 "File::Temp" => 0,
30 "Test::More" => "0.96"
31 },
32 "VERSION" => "0.502",
33 "test" => {
34 "TESTS" => "t/*.t"
35 }
1736 );
37
38
39 unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
40 my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
41 my $br = $WriteMakefileArgs{BUILD_REQUIRES};
42 for my $mod ( keys %$tr ) {
43 if ( exists $br->{$mod} ) {
44 $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
45 }
46 else {
47 $br->{$mod} = $tr->{$mod};
48 }
49 }
50 }
51
52 unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
53 my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
54 my $pp = $WriteMakefileArgs{PREREQ_PM};
55 for my $mod ( keys %$br ) {
56 if ( exists $pp->{$mod} ) {
57 $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
58 }
59 else {
60 $pp->{$mod} = $br->{$mod};
61 }
62 }
63 }
64
65 delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
66 unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
67
68 WriteMakefile(%WriteMakefileArgs);
69
70
71
0 README for Class-Accessor-Class
10
2 Class::Accessor::Class makes it easy to give a class class-level
3 accessor/mutator methods for class variables. Class class class!
1
2 This archive contains the distribution Class-Accessor-Class,
3 version 0.502:
4
5 simple class variable accessors
6
7 This software is copyright (c) 2004 by Ricardo SIGNES.
8
9 This is free software; you can redistribute it and/or modify it under
10 the same terms as the Perl 5 programming language system itself.
11
12
0 name = Class-Accessor-Class
1 author = Ricardo SIGNES <rjbs@cpan.org>
2 license = Perl_5
3 copyright_holder = Ricardo SIGNES
4 copyright_year = 2004
5
6 [@RJBS]
0 use strict;
1 use warnings;
02 package Class::Accessor::Class;
1 use base qw(Class::Accessor);
3 {
4 $Class::Accessor::Class::VERSION = '0.502';
5 }
6 use Class::Accessor 0.16 ();
7 use parent 'Class::Accessor';
8 # ABSTRACT: simple class variable accessors
29
3 use warnings;
4 use strict;
10
11 sub mk_class_accessors {
12 my ($self, @fields) = @_;
13
14 ## no critic (ProhibitNoStrict)
15 no strict 'refs';
16 for my $field (@fields) {
17 *{"${self}::$field"} = $self->make_class_accessor($field);
18 }
19 }
20
21
22 sub mk_package_accessors {
23 my ($self, @fields) = @_;
24
25 ## no critic (ProhibitNoStrict)
26 no strict 'refs';
27 for my $field (@fields) {
28 *{"${self}::$field"} = $self->make_package_accessor($field);
29 }
30 }
31
32
33 {
34 my %accessor;
35
36 sub make_class_accessor {
37 my ($class, $field) = @_;
38
39 return $accessor{$class}{$field}
40 if $accessor{$class}{$field};
41
42 my $field_value;
43
44 $accessor{$class}{$field} = sub {
45 my $class = shift;
46
47 return @_
48 ? ($field_value = $_[0])
49 : $field_value;
50 }
51 }
52 }
53
54
55 sub make_package_accessor {
56 my ($self, $field) = @_;
57 my $class = ref $self || $self;
58
59 my $varname = "$class\:\:$field";
60 return sub {
61 my $class = shift;
62
63 ## no critic (ProhibitNoStrict)
64 no strict 'refs';
65 return @_
66 ? (${$varname} = $_[0])
67 : ${$varname}
68 }
69 }
70
71 1;
72
73 __END__
74
75 =pod
576
677 =head1 NAME
778
980
1081 =head1 VERSION
1182
12 version 0.501
13
14 $Id: /my/cs/projects/claccl/trunk/lib/Class/Accessor/Class.pm 27922 2006-11-13T16:05:47.533928Z rjbs $
15
16 =cut
17
18 our $VERSION = '0.501';
83 version 0.502
1984
2085 =head1 SYNOPSIS
2186
69134 This method adds accessors for the named class variables. The accessor will
70135 get or set a lexical variable to which the accessor is the only access.
71136
72 =cut
73
74 sub mk_class_accessors {
75 my ($self, @fields) = @_;
76
77 ## no critic (ProhibitNoStrict)
78 no strict 'refs';
79 for my $field (@fields) {
80 *{"${self}::$field"} = $self->make_class_accessor($field);
81 }
82 }
83
84137 =head2 mk_package_accessors
85138
86139 package Foo;
95148 This method adds accessors for the named class variables. The accessor will
96149 get or set the named variable in the package's symbol table.
97150
98 =cut
99
100 sub mk_package_accessors {
101 my ($self, @fields) = @_;
102
103 ## no critic (ProhibitNoStrict)
104 no strict 'refs';
105 for my $field (@fields) {
106 *{"${self}::$field"} = $self->make_package_accessor($field);
107 }
108 }
109
110151 =head1 DETAILS
111152
112153 =head2 make_class_accessor
115156
116157 This method generates a subroutine reference which acts as an accessor for the
117158 named field.
118
119 =cut
120
121 {
122 my %accessor;
123
124 sub make_class_accessor {
125 my ($class, $field) = @_;
126
127 return $accessor{$class}{$field}
128 if $accessor{$class}{$field};
129
130 my $field_value;
131
132 $accessor{$class}{$field} = sub {
133 my $class = shift;
134
135 return @_
136 ? ($field_value = $_[0])
137 : $field_value;
138 }
139 }
140 }
141159
142160 =head2 make_package_accessor
143161
150168 This can be useful for dealing with legacy code, but using package variables is
151169 almost never a good idea for new code. Use this with care.
152170
153 =cut
154
155 sub make_package_accessor {
156 my ($self, $field) = @_;
157 my $class = ref $self || $self;
158
159 my $varname = "$class\:\:$field";
160 return sub {
161 my $class = shift;
162
163 ## no critic (ProhibitNoStrict)
164 no strict 'refs';
165 return @_
166 ? (${$varname} = $_[0])
167 : ${$varname}
168 }
169 }
170
171171 =head1 AUTHOR
172172
173 Ricardo SIGNES, C<< <rjbs@cpan.org> >>
173 Ricardo SIGNES <rjbs@cpan.org>
174174
175 =head1 BUGS
175 =head1 COPYRIGHT AND LICENSE
176176
177 Please report any bugs or feature requests to
178 C<bug-class-accessor-class@rt.cpan.org>, or through the web interface at
179 L<http://rt.cpan.org>. I will be notified, and then you'll automatically be
180 notified of progress on your bug as I make changes.
177 This software is copyright (c) 2004 by Ricardo SIGNES.
181178
182 =head1 COPYRIGHT
183
184 Copyright 2004-2006 Ricardo Signes, All Rights Reserved.
185
186 This program is free software; you can redistribute it and/or modify it
187 under the same terms as Perl itself.
179 This is free software; you can redistribute it and/or modify it under
180 the same terms as the Perl 5 programming language system itself.
188181
189182 =cut
190
191 1;
0 #!perl
1
2 use strict;
3 use warnings;
4
5 use Test::More;
6
7
8
9 use File::Find;
10 use File::Temp qw{ tempdir };
11
12 my @modules;
13 find(
14 sub {
15 return if $File::Find::name !~ /\.pm\z/;
16 my $found = $File::Find::name;
17 $found =~ s{^lib/}{};
18 $found =~ s{[/\\]}{::}g;
19 $found =~ s/\.pm$//;
20 # nothing to skip
21 push @modules, $found;
22 },
23 'lib',
24 );
25
26 sub _find_scripts {
27 my $dir = shift @_;
28
29 my @found_scripts = ();
30 find(
31 sub {
32 return unless -f;
33 my $found = $File::Find::name;
34 # nothing to skip
35 open my $FH, '<', $_ or do {
36 note( "Unable to open $found in ( $! ), skipping" );
37 return;
38 };
39 my $shebang = <$FH>;
40 return unless $shebang =~ /^#!.*?\bperl\b\s*$/;
41 push @found_scripts, $found;
42 },
43 $dir,
44 );
45
46 return @found_scripts;
47 }
48
49 my @scripts;
50 do { push @scripts, _find_scripts($_) if -d $_ }
51 for qw{ bin script scripts };
52
53 my $plan = scalar(@modules) + scalar(@scripts);
54 $plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
55
56 {
57 # fake home for cpan-testers
58 # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 );
59
60 like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ loaded ok" )
61 for sort @modules;
62
63 SKIP: {
64 eval "use Test::Script 1.05; 1;";
65 skip "Test::Script needed to test script compilation", scalar(@scripts) if $@;
66 foreach my $file ( @scripts ) {
67 my $script = $file;
68 $script =~ s!.*/!!;
69 script_compiles( $file, "$script script compiles" );
70 }
71 }
72
73 }
+0
-7
t/00-load.t less more
0 use Test::More tests => 1;
1
2 BEGIN {
3 use_ok('Class::Accessor::Class');
4 }
5
6 diag( "Testing Class::Accessor::Class $Class::Accessor::Class::VERSION" );
0 use strict;
1 use warnings;
2 use Test::More 0.88;
3 # This is a relatively nice way to avoid Test::NoWarnings breaking our
4 # expectations by adding extra tests, without using no_plan. It also helps
5 # avoid any other test module that feels introducing random tests, or even
6 # test plans, is a nice idea.
7 our $success = 0;
8 END { $success && done_testing; }
9
10 # List our own version used to generate this
11 my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n";
12
13 eval { # no excuses!
14 # report our Perl details
15 my $want = "any version";
16 $v .= "perl: $] (wanted $want) on $^O from $^X\n\n";
17 };
18 defined($@) and diag("$@");
19
20 # Now, our module version dependencies:
21 sub pmver {
22 my ($module, $wanted) = @_;
23 $wanted = " (want $wanted)";
24 my $pmver;
25 eval "require $module;";
26 if ($@) {
27 if ($@ =~ m/Can't locate .* in \@INC/) {
28 $pmver = 'module not found.';
29 } else {
30 diag("${module}: $@");
31 $pmver = 'died during require.';
32 }
33 } else {
34 my $version;
35 eval { $version = $module->VERSION; };
36 if ($@) {
37 diag("${module}: $@");
38 $pmver = 'died during VERSION check.';
39 } elsif (defined $version) {
40 $pmver = "$version";
41 } else {
42 $pmver = '<undef>';
43 }
44 }
45
46 # So, we should be good, right?
47 return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n");
48 }
49
50 eval { $v .= pmver('Class::Accessor','0.16') };
51 eval { $v .= pmver('ExtUtils::MakeMaker','6.30') };
52 eval { $v .= pmver('File::Find','any version') };
53 eval { $v .= pmver('File::Temp','any version') };
54 eval { $v .= pmver('Test::More','0.96') };
55 eval { $v .= pmver('Test::Pod','1.41') };
56 eval { $v .= pmver('parent','any version') };
57 eval { $v .= pmver('strict','any version') };
58 eval { $v .= pmver('version','0.9901') };
59 eval { $v .= pmver('warnings','any version') };
60
61
62 # All done.
63 $v .= <<'EOT';
64
65 Thanks for using my code. I hope it works for you.
66 If not, please try and include this output in the bug report.
67 That will help me reproduce the issue and solve your problem.
68
69 EOT
70
71 diag($v);
72 ok(1, "we really didn't test anything, just reporting data");
73 $success = 1;
74
75 # Work around another nasty module on CPAN. :/
76 no warnings 'once';
77 $Template::Test::NO_FLUSH = 1;
78 exit 0;
+0
-14
t/perl-critic.t less more
0 #!perl
1 use strict;
2 use warnings;
3 use Test::More;
4
5 if ($ENV{PERL_TEST_CRITIC}) {
6 if (eval { require Test::Perl::Critic }) {
7 Test::Perl::Critic::all_critic_ok();
8 } else {
9 plan skip_all => "couldn't load Test::Perl::Critic";
10 }
11 } else {
12 plan skip_all => "define PERL_TEST_CRITIC to run these tests";
13 }
+0
-5
t/pod-coverage.t less more
0 use Test::More;
1 eval "use Test::Pod::Coverage 1.06";
2 plan skip_all => "Test::Pod::Coverage 1.06 required for testing POD coverage"
3 if $@;
4 all_pod_coverage_ok();
+0
-5
t/pod.t less more
0 use Test::More;
1 eval "use Test::Pod 1.14";
2 plan skip_all => "Test::Pod 1.14 required for testing POD"
3 if $@;
4 all_pod_files_ok();
0 #!perl
1
2 use Test::More tests => 2;
3
4 note 'Checking Changes';
5 my $changes_file = 'Changes';
6 my $newver = '0.502';
7 my $trial_token = '-TRIAL';
8
9 SKIP: {
10 ok(-e $changes_file, "$changes_file file exists")
11 or skip 'Changes is missing', 1;
12
13 ok(_get_changes($newver), "$changes_file has content for $newver");
14 }
15
16 done_testing;
17
18 # _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit
19 # by Jerome Quelin
20 sub _get_changes
21 {
22 my $newver = shift;
23
24 # parse changelog to find commit message
25 open(my $fh, '<', $changes_file) or die "cannot open $changes_file: $!";
26 my $changelog = join('', <$fh>);
27 close $fh;
28
29 my @content =
30 grep { /^$newver(?:$trial_token)?(?:\s+|$)/ ... /^\S/ } # from newver to un-indented
31 split /\n/, $changelog;
32 shift @content; # drop the version line
33
34 # drop unindented last line and trailing blank lines
35 pop @content while ( @content && $content[-1] =~ /^(?:\S|\s*$)/ );
36
37 # return number of non-blank lines
38 return scalar @content;
39 }
40
0 #!perl
1 use Test::More;
2
3 eval "use Test::Pod 1.41";
4 plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
5
6 all_pod_files_ok();