Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Well... (Score:3, Informative)

    It's unfortunate but it's the kind of technical mistake and general imprecision which frequently plagues Erik's stuff, though he can otherwise be good.

    To boot the example is invalid because XML IDs can't start with a number, they have to be valid names.

    And that pretty much solves the problem. Use a "t" prefix for threads, a "p" prefix for posts... That is, if you need to use IDs for threads which I'm thinking is probably rather useless as XML's hierarchical nature could make that unnecessary.

    --

    -- Robin Berjon [berjon.com]

    • How would you rate the book then? It's was on my wanted list but now I'm not so sure - particularly if there are many technical errors.
      • It depends on your needs. The book doesn't have too many technical errors (though I did catch a few that couldn't be fixed in time unfortunately). It's a good introduction and overview of Perl and XML if you have little or no knowledge of that domain already. If however you do know about Perl and XML then you probably don't need the book as it'll be too simple.

        --

        -- Robin Berjon [berjon.com]