in reply to Pattern matching || grep -v which logic is better?
Should I use:It doesn't compile, so I wouldn't use it:-)
if ($remove eq ~ m/^.*\b($remove)\b.*$) { # do stuff here }
Perhaps you meant something like:
if ( m/\b$remove\b/ ) { # do stuff here }
how would I go about generating a random filename?See File::Temp
|
|---|