purge is a XML::Twig method, meaning you have to have a twig in order to call purge on it.
It has been my experience that children does not return twigs.
update: *sigh* I snooze, I snooze
MJDsays "you can't just make shit up and expect the computer to know what you mean, retardo!"