Bob Rogers said: > Seriously, splitting up the options this way does make it easier to > combine them, but it still requires globals to store the values, and as > long as that's true, I find it hard to imagine a solution that can deal > cleanly with options for multiple instances of the same class.
Hm, none of my scripts/modules would get that complicated. Everything I've done could treat command line arguments passed in as class data. I can't imagine a script that would have different arguments for different instances of the same class. I'm sure there's a situation that would need it, but I've never needed it for any of the scripts I've done. I thought I had some pretty hairy command line parsing going on, but apparantly, you're dealing with a wookie. _______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

