
perlposts
New User
Jul 25, 2007, 10:22 PM
Post #1 of 2
(3713 views)
|
|
Convert Perl Object to XMl tags
|
Can't Post
|
|
HI, I have a perl object (a hash reference with many levels) and would like to convert it to an xml structure so that each key represents a tag and the value represents the tag value .Does anyone know how to acheive this? Note: there are several CPAN modules that convert a perl hash to a xml structure.But my requirement would be to convert the object directly to a xml structure and not form an intermediate hash structure by dereferncing the object references. Thanks.
|