in reply to Dependencies, or, How Common is Regexp::Common?
your routine would validate "foo123abc" as a valid value for an integer./^integer$/ and return qr/\d+/;
There's more to it than just being too lazy to install a module, you know. On the other side of the spectrum, there's the laziness of being pretty sure your module will do what you want it to do. A lot of work has been going into construction of these modules. At least, borrow some of that work, copying some of the code into your scripts, instead of reinventing a likely majorly flawed wheel yourself.
You may think that you have just made a minor error, and that this won't happen to you again. Think twice. These kinds of errors are all too common.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Dependencies, or, How Common is Regexp::Common?
by tachyon (Chancellor) on Sep 17, 2003 at 07:31 UTC | |
|
Re: Dependencies, or, How Common is Regexp::Common?
by legLess (Hermit) on Sep 17, 2003 at 07:02 UTC |