September 11 2017 | File::Path Security | Back Next |
File::Path::rmtree() has had it backwards since 1997
Simpler syntax is less secure
rmtree('some_tree');
More secure syntax is more complex
rmtree('some_tree', 0, 1);
Which is more common on CPAN?
The simpler but less secure -- of course
Home Last TOC | Copyright © 2017 James E Keenan | Back Next |