Re: [code-review] Tie::Array::Bounded
Elizabeth Mattijsen <[email protected]> Sat, 22 Nov 2003 11:40:38 +0100
| Newsgroups | gmane.comp.lang.perl.code-review-ladder |
|---|---|
| Message-ID | <p05111b00bbe4ed4e0a36@[192.168.56.3]> |
At 08:39 +0100 11/21/03, Xavier Noria wrote: >On divendres, nov 21, 2003, at 08:07 Europe/Madrid, Peter Scott wrote: >>I've created my first module intended for CPAN, at >>http://www.psdt.com/Tie-Array-Bounded-0.01.tar.gz pending review >>from folks here. It allows the user to specify upper (and, for >>completeness' sake, lower) bounds on array indices, and throws >>exceptions on violations. >The name is confusig to me. From that name I would expect to get >tied arrays whose _values_ have to be in a certain range. I think that would have to be Tie::Scalar::Bounded. Why limit yourself to bounded values in arrays only? Why not in scalars also. And as hash values? Liz