Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Why are glob patterns without metacharacters returned

by Lotus1 (Vicar)
on Jan 05, 2018 at 16:21 UTC ( [id://1206764]=note: print w/replies, xml ) Need Help??


in reply to Re: Why are glob patterns without metacharacters returned
in thread Creating arrays with glob patterns without metacharacters

I find the phrase "If non-empty braces are the only wildcard characters used in the glob" misleading because it makes it sound like there are many wildcard chars to choose from, rather than just * and braces.

There are a few other meta characters for glob().

META CHARACTERS 1. \ Quote the next metacharacter 2. [] Character class 3. {} Multiple pattern 4. * Match any string of characters 5. ? Match any single character 6. ~ User name home directory

Replies are listed 'Best First'.
Re^3: Why are glob patterns without metacharacters returned
by Eily (Monsignor) on Jan 05, 2018 at 16:24 UTC

    Meh, I stopped at the glob documentation and didn't go any further. Well then, that's a whole bunch of characters to avoid :).

    /me learned something new about perl today. Thanks :)

    Edit: the list is in File::Glob for anyone who is wondering.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1206764]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (None)
    As of 2024-04-25 00:45 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found