File Coverage

File:blib/lib/HTML/Display/Dump.pm
Coverage:0.0%

linestmtbrancondsubpodtimecode
1package HTML::Display::Dump;
2use strict;
3use parent 'HTML::Display::Common';
4use vars qw($VERSION);
5$VERSION='0.37';
6
7 - 30
=head1 NAME

HTML::Display::Dump - dump raw HTML to the console

=head1 SYNOPSIS

=for example
  use HTML::Display;

=for example begin

  my $browser = HTML::Display->new(
    class => 'HTML::Display::Dump',
  );
  $browser->display("<html><body><h1>Hello world!</h1></body></html>");

=for example end

=for example_testing
  isa_ok($browser,"HTML::Display::Common");
  is($_STDOUT_,"<html><body><h1>Hello world!</h1></body></html>","Dumped output");
  is($_STDERR_,undef,"No warnings");

=cut
31
32sub display_html { print $_[1]; };
33
341;