in reply to Help with ADT

A module is probably not a bad idea here, especially if you really need those range constraints (as per your example.) I would recommend taking a look at perldoc perldsc (the data structures cookbook that comes with Perl) for some examples of ADTs.


_______________
D a m n D i r t y A p e
Home Node | Email