Re: Question re remove_tree and symlinks

2019-08-24 Thread David Precious
On Fri, 23 Aug 2019 19:13:15 +0100 Mike Martin wrote: > Am I right in believing that remove_tree from File::Path does not > follow symlinks, ie: does not remove the linked file only the link if > there are links in the direstories removed An obvious way to find out would be to just try it - set

Question re remove_tree and symlinks

2019-08-23 Thread Mike Martin
Am I right in believing that remove_tree from File::Path does not follow symlinks, ie: does not remove the linked file only the link if there are links in the direstories removed eg: #!/usr/bin/perl use strict; use File::Path('make_path','remove_tree'); my $dir='testdellink';# contains links to fi