| 1 | package HTML::Display::Debian; | ||
| 2 | use strict; | ||
| 3 | use parent 'HTML::Display::TempFile'; | ||
| 4 | use vars qw($VERSION); | ||
| 5 | $VERSION='0.40'; | ||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | HTML::Display::Debian - display HTML using the Debian default | ||
| 10 | |||
| 11 | =head1 SYNOPSIS | ||
| 12 | |||
| 13 | =for example begin | ||
| 14 | |||
| 15 | my $browser = HTML::Display->new(); | ||
| 16 | $browser->display("<html><body><h1>Hello world!</h1></body></html>"); | ||
| 17 | |||
| 18 | =for example end | ||
| 19 | |||
| 20 | This module implements displaying HTML through the Debian default web browser | ||
| 21 | referenced as the program C<x-www-browser>. | ||
| 22 | |||
| 23 | =cut | ||
| 24 | |||
| 25 | sub browsercmd { "x-www-browser %s" }; | ||
| 26 | |||
| 27 | =head1 AUTHOR | ||
| 28 | |||
| 29 | Copyright (c) 2004-2013 Max Maischein C<< <corion@cpan.org> >> | ||
| 30 | |||
| 31 | =head1 LICENSE | ||
| 32 | |||
| 33 | This module is released under the same terms as Perl itself. | ||
| 34 | |||
| 35 | =cut | ||
| 36 | |||
| 37 | 1; |