Perlbeginner1 has asked for the wisdom of the Perl Monks concerning the following question:

good evening dear perl-friends,


want to install mozrepl on opensuse-linux version 12.1: it gets pretty tricky - note Mozrepl is a additional part that is needed by the WWW::Mechanize::Firefox::

I had a bunch of troubles with mozRepl - and i tried to follow the first 3-4 steps from http://search.cpan.org/%7Ecorion/WWW-Mechanize-Firefox-0.49/lib/WWW/Mechanize/Firefox/Troubleshooting.pod

believe it or not - the mozrepl thing drives me nuts. well i try to install it on opensuse 12.1 with
zypper in or with the
repo can i take this for the repo: https://github.com/bard/mozrepl.github

love to hear from you greetings from good old Europe! perlbeginnner1
  • Comment on mozrepl-installation fails on opensuse-linux

Replies are listed 'Best First'.
Re: mozrepl-installation fails on opensuse-linux
by Corion (Patriarch) on Feb 11, 2012 at 00:21 UTC
    Note that version 0.49 is pretty old. Also note that mozrepl itself is a Mozilla/Firefox component and not supported here. You may want to consult the package manager of your operating system to install packages and their prerequisites. Also, you might want to take a look at http://cpansearch.perl.org/src/CORION/MozRepl-RemoteObject-0.29/Changes for further hints on how to install a recent version of the mozrepl plugin.
      good day dear corion

      i will do further investigations - this seems to be pretty difficult to install,. But i do my best -

      greetings pb1

      Well i forgot to mention that i only need to have the images as small thumbnails - so we do not have to have a very very large files...

      i only need to grab a thumbnail screenshot of them. How do I do that?

      my $png = $mech->content_as_png();

      The line returns the given tab or the current page rendered as PNG image.
      as the documentation states:

      All parameters are optional. $tab defaults to the current tab. If the coordinates are given, that rectangle will be cut out. The coordinates should be a hash with the four usual entries, left,top,width,height. This is specific to WWW::Mechanize::Firefox.

      Well does that have any impact on our code - can we make the code somewhat more specifical to our needs. Note:the files i store are a bit smaller - if we limit them after fetching from the web !? aren īt they!?

      BTW; Currently, the data transfer between Firefox and Perl is done Base64-encoded, isn t it. Well It would be beneficial to find what 's necessary to make JSON handle all the binary data more gracefully what do you think. Love to hear from you

      Now i try to install mozrepl - if you or anybody has got some tipps on that. should i run

      a. zypper in .or

      b. get it as a firefox plugin greetings