Yesterday Jason Fesler wrote:
| > can you elaborate on why it should make a differenze if you set the
| > TZ environemnt variable in perl or in a shared library loaded into
| > perl ...
|
| I wish I could. The observed behavior, in a mod_perl application,
| where I want to set the TZ via CGI, is that the only TZ observed
| by RRDs.pm is the one it started with. Setting $ENV{"TZ"}
| was ineffective.
try setting TZ in the BEGIN{ }; section or just before
calling RRDs::graph
the problem could be that mod_perl runs seceral instances of your
script and if you set TZ in one instance eg the one which generates
the webpage, it will not be effective in the one which generates
the images
tobi
|
|
--
______ __ _
/_ __/_ / / (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
/ // _ \/ _ \/ / TEL: +41(0)1-6325286 FAX:...1517 ICQ: 10419518
/_/ \.__/_.__/_/ [EMAIL PROTECTED] http://ee-staff.ethz.ch/~oetiker
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi