Guest User

Untitled

a guest
Jun 4th, 2018
530
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. <opt>
  2. <person firstname="Joe" lastname="Smith">
  3. <email>joe@smith.com</email>
  4. <email>jsmith@yahoo.com</email>
  5. </person>
  6. <person firstname="Bob" lastname="Smith">
  7. <email>bob@smith.com</email>
  8. </person>
  9. </opt>
  10.  
  11. <person firstname="Joe" lastname="Smith">
  12. <email>joe@smith.com</email>
  13. <email>jsmith@yahoo.com</email>
  14. </person>
  15. <person firstname="Bob" lastname="Smith">
  16. <email>bob@smith.com</email>
  17. </person>
  18.  
  19. use XML::Simple;
  20.  
  21. my $xml = XMLout($hashref, RootName => undef);
Add Comment
Please, Sign In to add comment