Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^3: Help combining two regex's into one

by roboticus (Chancellor)
on Jan 15, 2013 at 11:50 UTC ( #1013369=note: print w/replies, xml ) Need Help??

in reply to Re^2: Help combining two regex's into one
in thread Help combining two regex's into one

I can't quite tell if you're processing command line arguments or not. So if not, ignore the rest of this post.

Processing command-line arguments can get tricky, so I won't talk you out of doing it yourself. However, I *do* want to point out that it's complex enough that various people have created various packages to handle them. You may find it worth your while to use one of them, rather than wrestling with subtle errors as you add yet more options. I usually use Getopt::Long, but you should review several before choosing. Getopt::Long is pretty flexible, but requires a bit more effort than some others, so you might not like it as much as I do.


When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re^3: Help combining two regex's into one

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013369]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-04-19 10:55 GMT
Find Nodes?
    Voting Booth?