Thread Ausgabe eines (komplexeren) Hashes: %hash (21 answers)
Opened by Duff at 2007-07-18 17:17

bloonix
 2007-07-19 11:55
#78614 #78614
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
Vielleicht mit CPAN:YAML?

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use YAML qw(Dump);

print Dump($stat);

---
CpuStats:
cpu:
idle: 100.00
iowait: 0.00
nice: 0.00
system: 0.00
total: 0.00
user: 0.00
cpu0:
idle: 100.00
iowait: 0.00
nice: 0.00
system: 0.00
total: 0.00
user: 0.00
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 Ausgabe eines (komplexeren) Hashes: %hash