1package HTML::Display::OSX;
2use strict;
3use parent 'HTML::Display::TempFile';
4use vars qw($VERSION);
5$VERSION='0.40';
6
7=head1 NAME
8
9HTML::Display::OSX - display HTML on OSX
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
20This launches the default browser on OSX.
21
22=cut
23
24sub browsercmd { "open %s" };
25
26=head1 AUTHOR
27
28Copyright (c) 2004-2013 Max Maischein C<< <corion@cpan.org> >>
29
30=head1 LICENSE
31
32This module is released under the same terms as Perl itself.
33
34=cut
35
361;
37