($self) = @_;
my ($package) = caller;
no strict refs;
return $package-FORMAT_DATETIME($self)
if $package-can(FORMAT_DATETIME);
...
}
The author of a module just have to write a date-stringification method
of his package (obviously using strftime).
Szabó, Balázs (dLux
-cuts of the constructors.
- Object for an invalid date
Syntax proposals, which are besides the syntax of Date::ICal:
- $date + { year = 3 }
- $date + [ 3, 0, 0 ]
Szabó, Balázs (dLux)
--
#!/bin/perl -sp0777iX+d*lMLa^*lN%0]dsXx++lMlN/dsM0j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$kSK$/SM$n\EsN0p[lN*1
is invalid, then the program does not croak if it is
referenced, and we can pass error-information in it. I won't tell it is
a perfect solution, better way of handling invalid dates are welcome.
Szabó, Balázs (dLux)
--
god:~# create world
Segmentation fault (core dumped)
://hacks.dlux.hu/Class-Date/download/Class-Date-1.1.2.tar.gz
(It will not be submitted to the CPAN, while it is not reported to work
well.)
Thank you for your attention.
Regards,
Szabó, Balázs (dLux)
--
Never send a Human to do the machine's job
Agent Smith
project's goals.
Regards,
Szabó, Balázs (dLux)
--
:wq
a running software?
dLux
--
This message is READ-ONLY
://openinteract.sourceforge.net/ppmpackages/
PPM set save
PPM install Class-Date
The first two steps in PPM only need to be done at the first time. Next
time you just run the 'install'.
COPYRIGHT
Copyright (c) 2001 Szabó, Balázs (dLux)
All rights reserved. This program is free software
Hy,
2002-02-25, h keltezssel Steffen Beyer ezt rta:
Hello dLux, in a previous mail you wrote:
Class::Date::Rel
Business days field added. (TODO: find out a good syntax for it)
Have you seen Date::Calendar (inside of the Date::Calc 5.0 package)?
Performs