Help for this page

Select Code to Download


  1. or download this
    use XML::Simple;
    use Data::Dumper;
    ...
                        }
                      ]
            };
    
  2. or download this
    #on above $data i can split up the above string with each
    #Name tag followed by Phone tags associated with this
    ...
    #---------- Output -------------
    <Name><Lname>xyz</Lname><Fname>abcd</Fname></Name><Phone><Mobile>12345
    +6789</Mobile><Home>55656556</Home></Phone>
    <Name><Lname>UTV</Lname><Fname>EFGH</Fname></Name><Phone><Mobile>12345
    +6789</Mobile><Home>55656556</Home></Phone>