[ic] usertag passing args by reference (perl newby)
Stefan Hornburg
racke at linuxia.de
Wed Aug 27 11:40:43 UTC 2008
Marco Mescoli wrote:
> I am working to a usertag to calculate day worktime beetwen more time
> marks (manual clock mark, sms mark, web mark). If i cannot find correct
> sequence entry-exit i must return the partial time computed and the code
> error (no entry, no exit .... ). Passing to the usertag the name of a
> scratch var to get the error is a simple good way to handle the problem.
> Sorry and thanks for the other suggestion that going (slow ;-) me to
> perl computing often more simple than i think.
Did you take a look at the modules provided by datetime.perl.org? I based
some custom code for calendaring and dispatch calculation on them, with
[datetime] and [crontime] usertags. These allow me to pass DateTime objects
and relatives between usertags and Perl code back and forth.
Regards
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the interchange-users
mailing list