Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by roboticus (Canon)
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.

...roboticus

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-12-18 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls