Ron Hill said:
I would like to be able to change
the max and min values that are in a DateTime Set
object. Here is a test script that demonstrates
my problem.
[...]
#generate a monthly set object that has min set to
the first day of the month
# max set to last day of the month
my
Ron Hill wrote:
Do you think we can add to the docs to state these
are getter methods? something like
* min / max
[...]
These methods are getter methods meaning you
can't use it to set/change the value.
How about:
These methods return a copy of the actual
boundary values,
On Wed, 1 Dec 2004 12:28:35, Dave Rolsky [EMAIL PROTECTED] wrote:
I strongly dislike combined get/set methods, and they won't appear in
DateTime.
I recall that discussion from a while back but I don't remember your
reasons. Can you briefly reiterate them?
-John
On Wed, 1 Dec 2004, John Siracusa wrote:
On Wed, 1 Dec 2004 12:21:11, Dave Rolsky [EMAIL PROTECTED] wrote:
http://perladvent.org/2004/1st/
From the article:
# what year are we in?
my $year = DateTime-now-year;
Another victim of the failure to (attempt to) default to local time! ;)
I think
On Wed, 1 Dec 2004, John Siracusa wrote:
On Wed, 1 Dec 2004 12:28:35, Dave Rolsky [EMAIL PROTECTED] wrote:
I strongly dislike combined get/set methods, and they won't appear in
DateTime.
I recall that discussion from a while back but I don't remember your
reasons. Can you briefly reiterate them?
On Wed, 1 Dec 2004 13:23:24, Dave Rolsky [EMAIL PROTECTED] wrote:
If someone gets local to work on Win32, it might be considerable. Until
then, it's not.
Ooo, a glimmer of hope! :) Too bad I don't do any Perl on Win32hrm.
-John
On Wed, 1 Dec 2004, John Siracusa wrote:
On Wed, 1 Dec 2004 12:21:11, Dave Rolsky
[EMAIL PROTECTED] wrote:
http://perladvent.org/2004/1st/
From the article:
# what year are we in?
my $year = DateTime-now-year;
Another victim of the failure to (attempt to)
default to
On Wed, 1 Dec 2004, John Siracusa wrote:
On Wed, 1 Dec 2004 13:23:24, Dave Rolsky [EMAIL PROTECTED] wrote:
If someone gets local to work on Win32, it might be considerable. Until
then, it's not.
Ooo, a glimmer of hope! :) Too bad I don't do any Perl on Win32hrm.
And from what I can tell this