September 11 2017 | File::Path Security | Back Next |
File::Path version 2.00 provided alternative interface.
Pass list of files and directories to be removed
Followed by optional hash reference with key-value pairs for more options:
rmtree( 'foo/bar/baz', '/zug/zwang', { verbose => 1, mode => 0711, safe => 1, } );
QUESTION: What do you think of this interface?
Home Last TOC | Copyright © 2017 James E Keenan | Back Next |