On Mon, 30 Jan 2006 13:26:42 -0500, Chas Owens wrote > On 1/30/06, Keith Worthington <[EMAIL PROTECTED]> wrote: > snip > > Well, the answer was right in fromt of me. The delimiter pattern is > > matching the first hyphen and the integer pattern is matching the > > second hyphen as a negative sign. Arrrgh! > > > > The Regex::Dommon::Number documentation doesn't indicate a way to > > match only numbers without a sign. I am thinking I will just lose > > the - as part of the delimiter and let the integer pattern take care > > of it. A bit messy but it will work. If anyone can think of a > > better idea I would appreciate your time in > > sharing it. > > > > Kind Regards, > > Keith > > This may motivate me to hack on that module to add -unsigned and > -negative options.
Obviously that would benefit someone in my situation that really doesn't want to allow negative numbers. I think that hacking a module is well beyound me for the next couple of months though. ;-) Thanks for all the help. With the exception of that one delimiter issue my code looks pretty good. Functionality is okay as well. I am going to take what you have taught me and rewrite my script during the next phase of my project. Kind Regards, Keith -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>