On 19/04/2011 10:42, Agnello George wrote:
File::path the option keep_root => 1 does not seem to work for me use File::Path; rmtree( '/temp/auto', { verbose =>1 , keep_root => 1} ); it throw me the output unlink /temp/auto/test6 unlink /temp/auto/test5 unlink /temp/auto/test4 rmdir /temp/auto the option keep_root => 1 should keep the root path ??
You are right. I can't fault the code you have posted. There must be something else wrong. Please show us the entire program? Rob -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/