#=============================================================================== # # DESCRIPTION: =input block # # AUTHOR: Aliaksandr P. Zahatski, #=============================================================================== package Perl6::Pod::Block::input; #$Id$ =pod =head1 NAME Perl6::Pod::Block::input - handle =input block =head1 SYNOPSIS =begin output Name: Baracus, B.A. Rank: Sgt Serial: 1PTDF007 Do you want additional personnel details? K Height: 180cm/5'11" Weight: 104kg/230lb Age: 49 Print? K =end output =head1 DESCRIPTION The =input block is used to specify pre-formatted keyboard input, which should be rendered without rejustification or squeezing of whitespace. Export: * to docbook as B element (L) * to html (L):

        
=cut use warnings; use strict; use Perl6::Pod::Block; use base 'Perl6::Pod::Block'; sub to_xhtml { my ( $self, $to ) = @_; $to->w->raw('
');
    $self->{content} =
          Perl6::Pod::Utl::parse_para( $self->childs->[0] );
    $to->visit_childs($self);
    $to->w->raw('
'); } sub to_docbook { my ( $self, $to ) = @_; $to->w->raw(''); $self->{content} = Perl6::Pod::Utl::parse_para( $self->childs->[0] ); $to->visit_childs($self); $to->w->raw(''); } 1; __END__ =head1 SEE ALSO L, Perldoc Pod to HTML converter: L, Perl6::Pod::Lib =head1 AUTHOR Zahatski Aliaksandr, =head1 COPYRIGHT AND LICENSE Copyright (C) 2009-2010 by Zahatski Aliaksandr This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. =cut