in reply to Complexity of API argument passing

From what I've seen, every time there's a huge range of possible data formats, the programmer chooses the easiest one for himself, then writes a convert function for everybody else to use.

The most recent case I recall of this is Date::Manip where the author picked one date/time format, and then provided the ParseDate function for everyone else.

HTH,

____________________
Jeremy
I didn't believe in evil until I dated it.