Subject: | documentation of "delete" method is wrong |
remove
The documentation of "delete" is wrong, it contains a copy&paste version
from the "remove" method:
delete
For a given "PPI::Element", the "remove" method will remove it
from its parent, immediately deleting the "Element" and all
of its children (if it has any).
Returns true if the "Element" was successfully deleted, or
"undef" if an error occurs while trying to remove the "Ele‐
ment".
Also, the documentation could make more clear what the actual difference
between "remove" and "delete" is, if there is any.