Hello ytjPerl,
It looks the fellow Monks have provided proposed solutions already. Never the less to add something minor here just for reference purposes.
Your question has been asked / answered before, see Removing Directory and Contents with Perl.
Hope this helps, BR.
In reply to Re: delete folder and its content with plain perl
by thanos1983
in thread delete folder and its content with plain perl
by ytjPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |