Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Bug in glob2pat?

by cdarke (Prior)
on Sep 02, 2008 at 15:19 UTC ( [id://708516]=note: print w/replies, xml ) Need Help??


in reply to Re: Bug in glob2pat?
in thread Bug in glob2pat?

Fair comment, but I'm not sure that escaping the hyphen is legal. From the linux man pages:
One can remove the special meaning of '?', '*' and '[' by preceding them by a backslash. No mention of '-'. I have just waded through IEEE Std 1003.2 and that make no mention of escaping hyphen either, although it is probably open to interpretation.
Having said all that, it can be fixed by adding:'\\' => '\\', to the hash.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-18 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found