Good morning/evening everyone,

I have a hash of data , this hash is very big with dynamic elements
(strings, numbers, hashes, arrays)

Here is an example

$info{'system'}{'load'}{'1'}
$info{'system'}{'load'}{'5'}
$info{'system'}{'load'}{'15'}
$info{'system'}{'hostid'}
$info{'system'}{'time'}
$info{'system'}{'hostname'}
$info{'system'}{'network'}{'eth0'}{'ip'}
$info{'system'}{'network'}{'eth1'}{'ip'}
$info{'system'}{'mount'}{'/'} ==> array (/dev/sda1, 100, 10%, 4220)


The size and the data may get changed, so is there any  function that
can help me to print all the %info data  to be like this :

system.load.1
system.load.2
..
..
system.hostname
system.network.eth0.ip
...
system.mount././dev/sda1
system.mount./.100
system.mount./.10%
....

I can't think about a way to do that


Thank you for your help

--
Best Regards,
--------------------
-*- If Linux doesn't have the solution, you have the wrong problem -*-

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to