Skip Menu |

This queue is for tickets about the File-Find-Rule CPAN distribution.

Report information
The Basics
Id: 18808
Status: rejected
Priority: 0/
Queue: File-Find-Rule

People
Owner: Nobody in particular
Requestors: jarich+cpanrt [...] perltraining.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.28
Fixed in: (no value)



Subject: modified, accessed, changed should not be binary flags
In the documentation you say: "Though some tests are fairly meaningless as binary flags (modified, accessed, changed), they have been included for completeness." Ideally these would be implemented in the same way size is, to enable code like the following: my @old_music = File::Find::Rule->file() ->name('*.mp3', '*.ogg') ->accessed( "> $YEAR" ) ->in(@ARGV); which would be much more meaningful than to just say it was accessed. All the best, Jacinta