koacamper has asked for the wisdom of the Perl Monks concerning the following question:
Thank you for any help you can give me!require 'cgi.pm'; use File::Path; $dir_location = "/home/sites/www.domain.net/web/test/"; %in = (); &ReadParse(%in); # Parse the data submitted by the user if (($in{'sub_dir'})) { $dir= $in{'sub_dir'}; rmtree(['$dir_location','$dir'], 1, 1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Removal of A Directory
by japhy (Canon) on May 31, 2001 at 19:21 UTC | |
|
Re: Removal of A Directory
by bikeNomad (Priest) on May 31, 2001 at 19:27 UTC |