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.
  • I'm using LWP to control a web app. This application is not developed in house and the pages can change without notice, although the developers _say_ they will give me a heads up. Some of the result tables are kind of messy, with lots of tables nested in tables. Improper operations of my automation could SERIOUSLY screw things up.

    Given this scenario, I like to use HTTP::TreeBuilder to build a tree of the forms and the results I get and I check them over for consistent structure and format before acting

    • I was just talking about the use of Mech for building a spider, which is what the original post pointed to.

      In your case, it may or may not make sense to use Mech if you're doing a lot of custom form handling. However, there's no reason I can think of NOT to use Mech, since it's a proper subclass of LWP::UserAgent. I figure if you've got it on your machine, might as well use it.

      --

      --
      xoa

      • Good points, but I couldn't see the job posting, the link was bad or something.

        I don't have it on the machines though... We have a bunch of machines with the same Perl on them all and I have to request a new build and qualification to add modules. Or, I could support my own module paths for some things. I have done that, but that has drawbacks. Kind of a pain, actually.

        I guess I could run my apps from something other than the standard configurations, but that has other problems.