I like the fact that we're adding an arg to init to decide how big to 
make the resulting PMC. It got me to thinking, though. Perhaps we'd 
be even better served if we passed in something a bit more complex.

We are, after all, likely to get something like this at the perl level:

     my Str @foo is dim(10, 10, 10), encoding "Shift-JIS",
                    max_len(40), autochomp;

or something sort of like that. We'd really like to pass in the dim, 
encoding, max_len, and autochomp to the init method, so it can init 
things properly.

I'm tempted to use the key structure to do this, but I've not worked 
it out well enough to say how. (Or whether it's a good idea)
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to