One Hat Cyber Team
Your IP :
216.73.216.50
Server IP :
157.15.65.100
Server :
Linux 157-15-65-100.cprapid.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
perl5
/
vendor_perl
/
Foomatic
/
Edit File:
UIElem.pm
# TODO: # sort by section and process that way # order dep specific to particular options # UI constraints # various common non-UI options # PJL options? package Foomatic::UIElem; # Call with name=>foo, label=>Foo, type=>Boolean or PickOne or PickMany sub new { my ($type, %vals) = @_; return bless \%vals; } # default=>value # order_real=>value # order_section=>value # order_keyword=>value sub set { my ($this, $var, $val) = @_; $this->{$var} = $val; } sub add_option { my ($this, $option, $label, $ps) = @_; $ps =~ s!\r!!g; push (@{$this->{'options'}}, {'option' => $option, 'label' => $label, 'snippet' => $ps}); } 1;
Simpan