On Sunday, January 12, 2003, at 05:27 PM, Dave Rolsky wrote:
If not, it'd presumably be easy to stick an updating decorator in front of it, using the same type of structure as in the "dynamic wrapper for static objects" class I proposed earlier.On Sun, 12 Jan 2003, Matthew Simon Cavalletto wrote:Whether this method is an updater is an entirely different can of worms ;)Ick. That's clearly not as nice as just saying $dt->hour(17).
$dth->hour(17);
# Really calls $$dth->clone( hour => 17 ) or equivalent
# internal gymnastics, and then stores the resulting object.
-Simon
