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


in reply to open a browser from the command line, wait a few seconds, and shut it. (ie, translate forking from bash to perl)

Regarding your updated, have you considered Win32::IE::Mechanize or Mozilla::Mechanize?
  • Comment on Re: open a browser from the command line, wait a few seconds, and shut it. (ie, translate forking from bash to perl)

Replies are listed 'Best First'.
Re^2: open a browser from the command line, wait a few seconds, and shut it. (ie, translate forking from bash to perl)
by tphyahoo (Vicar) on Mar 08, 2007 at 19:09 UTC
    I was aware of and decided to use these modules, but can't remember why anymore.

    I think it had something to do with them also not being ok with javascript. But I may have been wrong about that, and will give it another shot.

    Currently though, after perl -MCPAN -e 'install Mozilla::DOM' I'm getting

    *** can not find package for any of (mozilla-xpcom >= 1.7, firefox-xpc +om >= 1.0, mozilla-firefox-xpcom >= 1.0) *** check that one of them is properly installed and available in PKG_ +CONFIG_PATH

    apt-cache search isn't pulling these up on my ubuntu box. (and package management is completely &)#@ed on the SUSE 10.1 box I use at work.)

    UPDATE: regarding the above, I guess I need to start at http://developer.mozilla.org/en/docs/Build_Documentation

    (It's just not in .deb form yet).

    But I'm going home now, so perhaps to be continued.

      I just stumbled into the same situation yesterday ...
      Did you find a solution/work-around for this?


      Cheers,
      Tink