From: oetiker Date: Fri, 5 Jul 2002 18:47:46 +0000 (+0000) Subject: explain tzset X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f99ffdd03c370bb321f7ce311008cb7bb3357dd6;p=rrdtool.git explain tzset git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@155 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/bindings/perl-shared/RRDs.pm b/bindings/perl-shared/RRDs.pm index 2cd3370..6146e43 100644 --- a/bindings/perl-shared/RRDs.pm +++ b/bindings/perl-shared/RRDs.pm @@ -111,6 +111,17 @@ integers, a pointer to an array and a pointer to a array of pointers. See the examples directory for more ways to use this extension. +=head1 NOTE + +If you are manipulating the TZ variable you should also call the posixs +function tzset to initialize all internal state of the library for properly +operating in the timezone of your choice. + + use POSIX qw(tzset); + $ENV{TZ} = 'CET'; + POSIX::tzset(); + + =head1 AUTHOR Tobias Oetiker Eoetiker@ee.ethz.chE