/usr/share/perl5/HTML/Display/Win32.pm is in libhtml-display-perl 0.40-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | package HTML::Display::Win32;
use strict;
use vars qw($VERSION);
$VERSION='0.40';
=head1 NAME
HTML::Display::Win32 - display an URL through the default application for HTML
=head1 SYNOPSIS
=for example begin
my $browser = HTML::Display->new();
$browser->display("<html><body><h1>Hello world!</h1></body></html>");
=for example end
=head1 BUGS
Currently does not work.
Making it work will need either munging the tempfilename to
become ".html", or looking through the registry whether we find
a suitable application there.
=cut
use parent 'HTML::Display::TempFile';
sub browsercmd {
# cmd.exe needs two arguments, command.com needs one
($ENV{COMSPEC} =~ /cmd.exe$/i) ? 'start "HTML::Display" "%s"' : 'start "%s"'
};
=head1 AUTHOR
Copyright (c) 2004-2013 Max Maischein C<< <corion@cpan.org> >>
=head1 LICENSE
This module is released under the same terms as Perl itself.
=cut
1;
|