Posted on 2005-11-20 10:55:44-08 by earl
More types?
Have you considered adding more options to the 'Type' attribute?

1. If I want the type to be a scalar, I can say 'Type' => '', right? I think that's covered.

2. If you have 'NUMERIC', why not have 'INTEGER' ?

3. In my program, I have a lot of "POSITIVE' (Integers > 0). Some people may like 'NATURAL' (Integer >= 0).

4. I'm not a big fan of implicit conversion. (The software engineer in me says implicit conversion can mask errors.) I wish there was a way to specify 'ARRAY', where anything but an array ref is an error.

If you like these ideas, but you don't have the time to add them, I may be able to work on adding them.

Earl
Direct Responses: 1369 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.