[Israel.pm] how to read a file to a Hash?

=?UNKNOWN?B?7Ong+g==?= rin_liat at netvision.net.il
Thu Jul 8 07:42:38 PDT 2004


hellow,
i need help plz.
i'm working on a client-server project.
i need to read data from a File to the socket (on the server side)  that
need to be read to hash variable (on the client side)
my problem is how to save the data in the file? how to organized it?
for example:

my $hash = {
                "family" => {
                        "husband" => {
                                "x1" => 'y1',
                                "x2" => 'y2',
                        } ,
                        "wife" => {
                                "x3" => 'y3',
                                "x4" => 'y4',
                        } ,

                                         {
                  {

to save this data in a file that supposed to get the client in a hash
variable looks like that.


thanks
áúåãä îøàù
liat





More information about the Perl mailing list