blib/lib/HTML/Display/OSX.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
browsercmd
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package HTML::Display::OSX;
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::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  
20 This launches the default browser on OSX.
21  
22 =cut
23  
24 sub browsercmd { "open %s" };
25  
26 =head1 AUTHOR
27  
28 Copyright (c) 2004-2013 Max Maischein C<< <corion@cpan.org> >>
29  
30 =head1 LICENSE
31  
32 This module is released under the same terms as Perl itself.
33  
34 =cut
35  
36 1;