http://qs321.pair.com?node_id=385865


in reply to To mechanize WWW::Mechanize: a scraping language?

You might want to check out Compaq's WebL language. Though implemented in Java, the source is available. Perhaps a perl translator between WebL and WWW::Mechanize?

Matt

  • Comment on Re: To mechanize WWW::Mechanize: a scraping language?

Replies are listed 'Best First'.
Re: Compaq's WebL language
by htoug (Deacon) on Aug 26, 2004 at 13:01 UTC
    I just had a look at it, and I must say:
      Yuck!!!
    It look's a bit like the worst of Pascal and ECMAScript rolled into one.

    Why not stay with Perl for doing thing like this? You will probably end up needing a full language to do anything serious, and then you will have to reinvent Perl!

      I agree that it's not pretty -- perl is better suited for most, if not all, of the tasks it accomplishes.

      What I had in mind was leveraging existing WeBL scripts, or translating them. Also, if you look at the problem space that WeBL addresses, it serves as a good source of sign posts for the sort of constructs you'd want for a general purpose web-weasel language.

      Matt