September 11 2017 | File::Path Security | Back Next |
Oldest and most common syntax:
rmtree('some/tree');
For multiple trees, use an array reference:
rmtree(['some/tree', 'another/tree']);
Want more verbose output? Pass true value as second argument.
rmtree('some/tree', 1);
Want 'safe' recursive removal? Pass true value as third argument in.
rmtree('some/tree', 0, 1);
(Much more to come about 'safe')
Home Last TOC | Copyright © 2017 James E Keenan | Back Next |