Debconf/Element/Teletype/Text.pm
raw| 1 | #!/usr/bin/perl |
| 2 | |
| 3 | =head1 NAME |
| 4 | |
| 5 | Debconf::Element::Teletype::Text - show text to the user |
| 6 | |
| 7 | =cut |
| 8 | |
| 9 | package Debconf::Element::Teletype::Text; |
| 10 | use warnings; |
| 11 | use strict; |
| 12 | use base qw(Debconf::Element); |
| 13 | |
| 14 | =head1 DESCRIPTION |
| 15 | |
| 16 | This is a piece of text to output to the user. |
| 17 | |
| 18 | =cut |
| 19 | |
| 20 | sub show { |
| 21 | my $this=shift; |
| 22 | |
| 23 | $this->frontend->display($this->question->description."\n\n". |
| 24 | $this->question->extended_description."\n"); |
| 25 | |
| 26 | $this->value(''); |
| 27 | } |
| 28 | |
| 29 | 1 |