From 2d8ad2f6471994f907f7a7e6e5a39c15509daa42 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 5 Jul 2002 18:47:46 +0000 Subject: [PATCH] explain tzset git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@155 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/bindings/perl-shared/RRDs.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/program/bindings/perl-shared/RRDs.pm b/program/bindings/perl-shared/RRDs.pm index 2cd33703..6146e43b 100644 --- a/program/bindings/perl-shared/RRDs.pm +++ b/program/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 -- 2.30.2