in reply to Re^6: HTML::Display help needed
in thread HTML::Display help needed
Lets say you have a browser /usr/bin/firefox on your machine and you can start firefox simply with an URL as parameter like this: /usr/bin/firefox http://www.google.com would start firefox with google displayed.
Then you can set the environment variable PERL_HTML_DISPLAY_COMMAND to '/usr/bin/firefox %s' and otherwise leave your script unchanged.
That's it. Run your script. It will automatically call firefox and substitute %s with the name of a temporary file it just generated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: HTML::Display help needed
by gw1500se (Beadle) on Aug 22, 2008 at 13:29 UTC | |
by jethro (Monsignor) on Aug 22, 2008 at 14:18 UTC | |
by gw1500se (Beadle) on Aug 22, 2008 at 22:36 UTC | |
by gw1500se (Beadle) on Aug 22, 2008 at 23:12 UTC |