Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: regex error

by igelkott (Curate)
on Apr 06, 2013 at 15:11 UTC ( #1027288=note: print w/ replies, xml ) Need Help??

in reply to regex error

As other have pointed out, you should generally use the correct type of quoting.

But, if you're just using hard-coded paths, you can skip the fancy quotes if you switch to unix-style paths. In other words, change the assignment to $binpath="c:/qa/kontor/bin";. As mentioned in this very old post, paths are converted automatically.

Personally, I prefer this method so I can use the same script on PC and Linux. Well, at least for relative directories.

Comment on Re: regex error
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2015-11-30 17:22 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (777 votes), past polls