I just started using XML::Twig for the first time within the past few weeks for a $work project. I've found a somewhat steep learning curve, as compared to other modules I've started using very quickly. But it's a great module, and I'm so glad I don't have to be stuck writing XSLT--yuck. It's been useful to have a single documentation source with everything in it.
But you all are correct that newbies could get started much faster with some other docs to begin with.
What allowed me to start getting work done was the help page with links to some selected XML::Twig conversations here on Perlmonks. Finding examples that were similar to what I wanted to do with XML got me started the fastest.
Many of the more complex modules also have additional Cookbook-style pod. Like Parse::RecDescent, Catalyst, and POE for example.
Perhaps XML::Twig documentation could benefit from a "Cookbook" style doc that gives maybe a dozen of the most common tasks that XML::Twig would come in handy for, or general tasks that can serve as building blocks to piece together into more advanced usage.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.