Hello Tobi, hello Heinrich,
Am 02.11.2017 um 23:38 schrieb Heinrich Schnorrenberg:
Hi Jochen
I just checked it on my raspi . here it works. the script is :
hope that helps
regards Heinrich
I'm sorry, I didn't get back to you until now! I was out of town for two
days. I'm a bloody layman about pearls:
How do I run the script as cgi?
This script shows the correct result on my command line!
+++++++++++++++++++++++++++++++++++++++++++++++++++++
#! /usr/bin/perl -w
#
use warnings;
use POSIX qw (locale_h);
use locale;
use POSIX qw (strftime);
#
for (1... 7) {
$weekday[$_] = strftime ("%a", 0,0,0,0, $_, 3,96);
printf "$weekday[$_]\n";
}
++++++++++++++++++++++++++++++++++++++++++++++++++++
#~# perl test_locale.pl
Mo
Di
Mi
Do
Fr
Sa
So
#~#
++++++++++++++++++++++++++++++++++++++++++++++++++++
Only the question is, is that what Tobi meant!
--
Gruß aus der Stadt der CeBIT
Jochen
_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users