more useful options | |
PerlMonks |
Re: remove files starting with white from its folders and sub folders using perl?by 1nickt (Canon) |
on Apr 17, 2017 at 11:09 UTC ( [id://1188121]=note: print w/replies, xml ) | Need Help?? |
if ($d1 =~ /^white*/) This matches any string consisting of 'whit' at the beginning followed by zero or more 'e' characters. Probably not what you wanted.
Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|