Home: Perl Programming Help: Frequently Asked Questions:
How Do I Delete All The Files In A Directory?



sleuth
Enthusiast

Mar 5, 2001, 12:16 PM


Views: 29851
How Do I Delete All The Files In A Directory?

 Well, this question has been asked a dozen times like Japhy said so if you have a look here,

http://forums.perlguru.com/showflat.pl?Cat=&Board=Forum8&Number=8948&page=0&view=collapsed&sb=5

You'll see Japhy used unlink glob "/path/to/files/*";

Tony