in reply to Beginner question about files deletion

Maybe you want to look into how glob works? It does not work on make-believe. Personally, I recommend using bsd_glob() from File::Glob instead as it has much, much saner globbing rules. Also see glob (7) for a brief description of (some) globbing patterns.