Commit graph

12 commits

Author SHA1 Message Date
Dan Church
e0c91b4647
Fix overly-complex 'map' (PBP) 2023-07-20 15:00:46 -05:00
Dan Church
3e96b9bc19
Use croak/carp instead of die/warn (PBP) 2023-07-20 14:30:05 -05:00
Dan Church
62f2503cb0
Remove vim modelines
That's what .editorconfig is for.
2023-07-20 13:39:42 -05:00
Dan Church
98c2c04263
Remove postfix if/for (PBP) 2023-07-20 13:05:12 -05:00
Dan Church
15c466e581
Refactor FileHash to expect named arguments 2023-07-20 13:04:52 -05:00
Dan Church
31fe372e09
Fix implicit return (PBP) 2023-07-20 12:37:27 -05:00
Dan Church
7dbbb5422a
Unpack @_ first (PBP) 2023-07-20 12:37:07 -05:00
Dan Church
907a7113a8
Remove Perl 4 sigils (PBP) 2023-07-20 12:41:07 -05:00
Dan Church
02f97c2a90
Refactor 'more_linked'
- Make method static.
- Don't call dirname() in sort block. Relegate this to *::File.
  This carries with it a slight performance boost; calculate dirname of
  file only once upon instantiation, instead of (N log N) * 2 times.
- Move determination of read-only entries higher.
  This carries with it a slight performance boost as well, no longer
  redundantly testing directory write-ability N log N times (reduced to
  N times), and no longer requires memory to keep track of warnings
  issued.
2023-07-20 15:09:58 -05:00
Dan Church
5c6f506ed9
Refactor 'oldest_mtime' to be static 2023-07-20 12:48:07 -05:00
Dan Church
e5c25ef772
Replace unnecessary 'use' with 'require' 2023-07-20 12:44:31 -05:00
Dan Church
4d4edd5e9d
Move library code to lib/
Fixes accidental inclusion of test instrumentation into the all-in-one
script.
2023-06-29 13:01:29 -05:00