Repository navigation
Expand file tree
/
Copy pathChanges
More file actions
47 lines (40 loc) · 1.99 KB
/
Copy pathChanges
File metadata and controls
47 lines (40 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Revision history for 'accessors' Perl pragma
--------------------------------------------
All changes by Steve Purkis, unless otherwise noted.
1.02
* fixed bug: Prohibit "class accessors" RT #73138 [patch by Slaven Rezić]
calling class accessors will now throw an exception.
+ moved repo to github: git://github.com/spurkis/Perl-accessors.git
+ fixed spelling errors in pod: RT #71663 [patch by Salvatore Bonaccorso]
1.01
+ only run benchmark tests when $ENV{BENCHMARK_ACCESSORS} is set.
(tests were failing randomly, and annoying lots of people)
1.00
+ released as 1.0 to solidify the API & guarantee backwards compat
+ fixed RT #29753: Suppress warnings in "make test"
(it was a bug in the test code)
+ included accessors::ro (read only) and accessors::rw (read/write)
on chocolateboy's request.
* changed performance test to be more lenient:
'set/get generated is < 15% slower than optimized (X %)'
Threshold is now < 30% slower, because it was failing on some platforms
(probably due to the amount of warnings generated by RT #29753, but
upped the threshold anyway).
+ set more invalid accessor names [updated list from chocolateboy]
0.02
+ made method-chaining accessors the default.
* created accessors::classic and accessors::chained, and killed the
'use accessors qw( foo :style )' syntax.
+ now compat with perl 5.6+ [reported by Michael Schwern]
+ tests no longer noisy (no blib or benchmark diagnostics)
[reported by Michael Schwern]
+ using closures + anon sub instead of eval [reported by Michael Schwern]
+ moved generation methods into simple subs & optimized (smaller pad to
restore, results in faster, well factored code)
+ added InvalidNames to catch things like AUTOLOAD & DESTROY
[reported by James Duncan]
+ s/cascading/chaining/ [reported by James Duncan]
+ refactored test suite, added benchmarks for classic accessors.
+ updated docs
0.01
+ created Fri Sep 12 2003 after a conversation with Michael Schwern.