Thread Hash als Option missbrauchen (118 answers)
Opened by bloonix at 2005-12-19 02:24

bloonix
 2005-12-22 03:26
#61023 #61023
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
*URGS*

kann mir jemand weiterhelfen?

Ich habe mir auf CPAN.org einen Entwickler-Account angelegt und das
Modul hochgeladen. Kaum war es oben, habe ich keine paar Stunden
später Verbesserungsvorschläge von einem Entwickler erhalten...

Die Patch-Datei schaut so aus ...

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- Statistics.pm.orig  2005-12-21 07:28:46.000000000 +0100
+++ Statistics.pm       2005-12-22 00:30:12.000000000 +0100
@@ -6,6 +6,8 @@

use Linux::Statistics;

+initStats;
+
$stats = getStats( SysInfo   => 1,
                   ProcStats => 1,
                   MemStats  => 1,
@@ -27,6 +29,10 @@
release number. To run this module it is necessary to start it as root or another user
with the authorization to read the /proc filesystem and the /etc/passwd file.

+Some of the statistics are deltas since the last time that the main function was called.
+Therefore it's needed to initialize some values at the beginning of the program. This
+can be done using the I<initStats> function.
+


Die vielen + und - sagen mir was ... soviel wie Zeilen ersetzen, aber mit
welchem Tool oder welchem Modul kann ich nun die Patchdatei mit
dem Modul zusammenführen? Ich habe keine Ahnung! Hillfffeee ... :)
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.

View full thread Hash als Option missbrauchen