http://www.perlmonks.org?node_id=928040


in reply to Re^3: Perl and Javascript
in thread Perl and Javascript

Oh, when I mean a server, I mean I work in a server, that is , it has no X windows system, so I cannot install firefox.
My perl script is a client.

Replies are listed 'Best First'.
Re^5: Perl and Javascript
by Corion (Patriarch) on Sep 27, 2011 at 07:55 UTC

    One long-shot alternative is to run Firefox within a virtual X display, like xvfb provides.

    Another, even more long-shot alternative would be to try to compile Firefox without its display components.

    I never tried either, as I have a dedicated machine that runs just Firefox for automation.