%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/perl5/Debconf/Element/Teletype/
Upload File :
Create Path :
Current File : //usr/share/perl5/Debconf/Element/Teletype/Password.pm

#!/usr/bin/perl
# This file was preprocessed, do not edit!


package Debconf::Element::Teletype::Password;
use warnings;
use strict;
use base qw(Debconf::Element);


sub show {
	my $this=shift;

	$this->frontend->display(
		$this->question->extended_description."\n");

	my $default='';
	$default=$this->question->value if defined $this->question->value;

	my $value=$this->frontend->prompt_password(
		prompt => $this->question->description,
		default => $default,
		question => $this->question,
	);
	return unless defined $value;

	if ($value eq '') {
		$value=$default;
	}

	$this->frontend->display("\n");
	$this->value($value);
}

1

Zerion Mini Shell 1.0