K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / perl5 / Debconf / Template /
server ip : 172.67.156.115

your ip : 172.69.58.250

H O M E


Filename/usr/share/perl5/Debconf/Template/Transient.pm
Size1.08 kb
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified23-Feb-2014 22:30
Last accessed06-Jul-2025 12:43
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/usr/bin/perl -w
# This file was preprocessed, do not edit!


package Debconf::Template::Transient;
use strict;
use base 'Debconf::Template';
use fields qw(_fields);



sub new {
my $this=shift;
my $template=shift;

unless (ref $this) {
$this = fields::new($this);
}
$this->{template}=$template;
$this->{_fields}={};
return $this;
}


sub get {
die "get not supported on transient templates";
}


sub fields {
my $this=shift;

return keys %{$this->{_fields}};
}


sub clearall {
my $this=shift;

foreach my $field (keys %{$this->{_fields}}) {
delete $this->{_fields}->{$field};
}
}


{
my @langs=Debconf::Template::_getlangs();

sub AUTOLOAD {
(my $field = our $AUTOLOAD) =~ s/.*://;
no strict 'refs';
*$AUTOLOAD = sub {
my $this=shift;

return $this->{_fields}->{$field}=shift if @_;

if ($Debconf::Template::i18n && @langs) {
foreach my $lang (@langs) {
return $this->{_fields}->{$field.'-'.lc($lang)}
if exists $this->{_fields}->{$field.'-'.lc($lang)};
}
}
return $this->{_fields}->{$field};
};
goto &$AUTOLOAD;
}
}


1