s_gaurav1091 has asked for the wisdom of the Perl Monks concerning the following question:
Now i want it to write to a file in this formmy %hash = { "manager.1.address" => "127.0.0.1" "manager.1.port => "162" "manager.1.version" => "2" manager.2.address" => "127.3.2.1" "manager.2.port => "132" "manager.2.version" => "1" } <p>
manager.1.address=127.0.0.1 manager.1.port=162 manager.1.version=2
and so on like this... How should i write this hash to a file. }
Edit: g0n - Added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to assign a hash to a file
by svenXY (Deacon) on Sep 20, 2005 at 12:59 UTC | |
|
Re: how to assign a hash to a file
by ikegami (Patriarch) on Sep 20, 2005 at 14:07 UTC | |
|
Re: how to assign a hash to a file
by chester (Hermit) on Sep 20, 2005 at 13:38 UTC | |
|
Re: how to assign a hash to a file
by blazar (Canon) on Sep 20, 2005 at 13:01 UTC | |
by thor (Priest) on Sep 20, 2005 at 13:49 UTC | |
by spiritway (Vicar) on Sep 21, 2005 at 05:41 UTC | |
|
Re: how to assign a hash to a file
by Anonymous Monk on Sep 20, 2005 at 17:53 UTC |