Perl and xml

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bill Cunningham

    Perl and xml

    I'm wondering how I can use Perl to parse or write a parser for xml. I
    have something called expat. I use C,C++, and Java most of the time so I'm
    new to perl. I don't really like interpreters but I've heard Perl's a
    powerful language. So I'll check it out.

    Bill
    How can I use what's called 'modules' and xml?


  • Joe Smith

    #2
    Re: Perl and xml

    Bill Cunningham wrote:
    [color=blue]
    > I'm wondering how I can use Perl to parse or write a parser for xml.[/color]

    Why re-invent the wheel? There are some perfectly good perl modules
    already written to parse XML. Just use them.
    [color=blue]
    > How can I use what's called 'modules' and xml?[/color]

    Buy a good book (http://books.perl.org) and learn the basics of
    Perl (http://learn.perl.org). Any decent book will show you
    how to use modules.
    -Joe

    Comment

    • Jürgen Exner

      #3
      Re: Perl and xml

      Bill Cunningham wrote:[color=blue]
      > I'm wondering how I can use Perl to parse or write a parser for
      > xml.[/color]

      Well, unless you love academic excercises you may want to use one of the
      existing XML parser.
      Did you check CPAN?

      jue



      Comment

      Working...