XML, the Perl Way

Home XML::Twig Modules Talks Articles Tutorials Reports Tools PGC mirod Le Blog

21 Mar 2006

XML::Twig News: New name for an old method: unwrap

Chris Burbridge suggested that the erase method be aliased to unwrap, to spare others missing it and re-writing it, as he did.

This is now in the development version.

In case you had missed it, erase / unwrap removes an element, replacing it by all of its children, as if its start and end tags had been erased, or the element unwrapped and its content left in its place. Hence the names.

[XML::Twig News] [permalink]



Comments

Recent

Archives

2006