403Webshell
Server IP : 195.134.90.114  /  Your IP : 216.73.217.46
Web Server : Apache/2.4.58
System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : OFF
Directory :  /usr/share/perl5/Debconf/Element/Dialog/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/share/perl5/Debconf/Element/Dialog/Boolean.pm
#!/usr/bin/perl
# This file was preprocessed, do not edit!


package Debconf::Element::Dialog::Boolean;
use warnings;
use strict;
use base qw(Debconf::Element);


sub show {
	my $this=shift;

	my @params=('--yesno');
	push @params, $this->frontend->dashsep if $this->frontend->dashsep;
	push @params, $this->frontend->makeprompt($this->question, 1);
	if (defined $this->question->value && $this->question->value eq 'false') {
		unshift @params, '--defaultno';
	}

	my ($ret, $value)=$this->frontend->showdialog($this->question, @params);
	if (defined $ret) {
		$this->value($ret eq 0 ? 'true' : 'false');
	}
	else {
		my $default='';
		$default=$this->question->value
			if defined $this->question->value;
		$this->value($default);
	}
}

1

Youez - 2016 - github.com/yon3zu
LinuXploit