Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: cpan [...] ali.as
Cc:
AdminCc:

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



Subject: Addition of a ->clone method
Lately, I've started to write a lot of code that takes FFR objects arguments for various file-related things. In some of these cases, I need to double check the find is to be done ->relative or add some other condition before using it. Unfortunately, this results in the original FFR object being modified, which the caller may not be expecting when passing a FFR object as an argument. It would be very very handy to be able to safely ->clone a FFR object, so that FFR object can be copied safely.