in reply to Re: using glob to find "unwanted" file names
in thread using glob to find "unwanted" file names
This works fine, but when I try and add ] or } or \ everything matches. I have tried \] \} and \\. The funny thing is that [ { work just fine.my @badnames = glob( $dir . '/*{!,@,#,$,%,^,&,\ ,(,),[,|,<,>,;,+,=,`,~ +}*');
| Plankton: 1% Evil, 99% Hot Gas. |
|
|---|