RE: Dereferencing an XML data structure...

2003-06-17 Thread Paul Johnson
Hamish Whittal said: > Appologies for not making myself clear first time round. Let me try that > again: > > I have said XML file, which when read in using XML::Simple leaves me > with below data structure. > > Now, I want to end up with: > $NEWSTRUCT = { > 'device' => { >'sysObjectID' =>

RE: Dereferencing an XML data structure...

2003-06-17 Thread Hamish Whittal
Appologies for not making myself clear first time round. Let me try that again: I have said XML file, which when read in using XML::Simple leaves me with below data structure. Now, I want to end up with: $NEWSTRUCT = { 'device' => { 'sysObjectID' => '.1.3.6.1.4.1.9.1.219', 'commonM

Dereferencing an XML data structure...

2003-06-17 Thread Hamish Whittal
Hi Everybody, I have a data structure as follows (I used XML::Simple to read the XML file) $VAR1 = { 'device' => { 'sysObjectID' => '.1.3.6.1.4.1.9.1.219', 'chassis' => { 'chassisType' => '.1.3.6.1.4.1