Subject: | suppressing specific warnings |
Date: | Sat, 13 Oct 2018 14:27:44 -0400 (EDT) |
To: | bug-File-Copy-Recursive [...] rt.cpan.org |
From: | Martin VanWinkle <mvanwinkle [...] ias.edu> |
Greetings.
I currently use File::Copy::Recursive to copy a read-only directory, which I want to be +w. Thankfully, it does that. But, it complains:
carp "Copying readonly directory ($org); mode of its contents may not be preserved.";
I know that I'm copying a read only directory structure, and I'm OK with the resultant structure being +w; but I don't know how to get the module to stop complaining about it.
I also see there's a warning for when the target of a symbolic link doesn't exist. I picture there being times when I would knowingly want this to happen because something might not yet have been put in in place as a target.
If carping for that could be optional that would be great as well.
Thanks
marty