On Friday, January 24, 2003, at 03:45 AM, Rich Bowen wrote:
Someone who is watching the list more closely than I appear to be pointed out to me that some discussion had occurred about get/set attribute methods. I can't find that discussion, and don't feel like
[snip]
Some of the discussion was about whether or not DateTime objects should be updatable at all. It appeared to me that consensus formed to have objects static, and updating would be done via cloning:Now, if this matter never came up, and the whole episode was imagined, then ignore me and move on your way. But I just wanted to note that I'm opposed to having to call ->attrib_get and ->attrib_set as different methods.
$dt = DateTime->new( year => 2001, month => 5, day => 22 );
$dt2 = $dt->clone( day => 24 );
or some such.
- Bruce
__bruce__van_allen__santa_cruz__ca__