Indexmaker modification

[email protected] (Jose Luis Rojano Piernagorda)
Newsgroups gmane.network.mrtg.devel
Organization Senado
Message-ID <[email protected]>
Hi all!

I am trying to modify the indexmaker script so that the index.htm page created by the indexmaker execution, will contain infomation about the date and time in which indexmaker was invocated, that is to say, when the summary page is created. I also want to translate the date and time information into my native language (spanish).

To do so i am including the localization library included with the distribution called locales_mrtg. I do it by including this single line in the indexmaker:

...

use locales_mrtg "0.07";

...


But since i include this single and only line, everytime i execute indexmaker i get this ugly and strange error messages:

Scalar value @dollar[$j] better written as $dollar[$j] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1186.
Scalar value @quux[0] better written as $quux[0] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1190.
Scalar value @dollar[$j] better written as $dollar[$j] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1190.
Scalar value @quux[1] better written as $quux[1] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1190.
Scalar value @foo[0] better written as $foo[0] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1221.
Scalar value @foo[2] better written as $foo[2] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1221.
Scalar value @foo[3] better written as $foo[3] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1223.
Scalar value @foo[3] better written as $foo[3] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1225.
Scalar value @foo[3] better written as $foo[3] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1226.
Scalar value @quux[0] better written as $quux[0] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1226.
Scalar value @quux[1] better written as $quux[1] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1226.
Scalar value @foo[0] better written as $foo[0] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1228.
Scalar value @foo[1] better written as $foo[1] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1228.
Scalar value @foo[2] better written as $foo[2] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1228.
Scalar value @foo[3] better written as $foo[3] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1228.


Any ideas??

Best regards,

Jose Luis Rojano


--
Unsubscribe mailto:[email protected]?subject=unsubscribe
Help        mailto:[email protected]?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.