Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 3.144.46.90
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
vendor_perl /
Pod /
Simple /
[ HOME SHELL ]
Name
Size
Permission
Action
BlackBox.pm
64.69
KB
-rw-r--r--
Checker.pm
5.24
KB
-rw-r--r--
Debug.pm
4.5
KB
-rw-r--r--
DumpAsText.pm
3.92
KB
-rw-r--r--
DumpAsXML.pm
4.29
KB
-rw-r--r--
HTML.pm
32.69
KB
-rw-r--r--
HTMLBatch.pm
39.55
KB
-rw-r--r--
HTMLLegacy.pm
2.69
KB
-rw-r--r--
LinkSection.pm
4.24
KB
-rw-r--r--
Methody.pm
3.48
KB
-rw-r--r--
Progress.pm
2.36
KB
-rw-r--r--
PullParser.pm
24.76
KB
-rw-r--r--
PullParserEndToken.pm
2.81
KB
-rw-r--r--
PullParserStartToken.pm
4.04
KB
-rw-r--r--
PullParserTextToken.pm
3.08
KB
-rw-r--r--
PullParserToken.pm
3.89
KB
-rw-r--r--
RTF.pm
21.14
KB
-rw-r--r--
Search.pm
32.7
KB
-rw-r--r--
SimpleTree.pm
4.47
KB
-rw-r--r--
Subclassing.pod
32.33
KB
-rw-r--r--
Text.pm
5.01
KB
-rw-r--r--
TextContent.pm
2.48
KB
-rw-r--r--
TiedOutFH.pm
2.67
KB
-rw-r--r--
Transcode.pm
699
B
-rw-r--r--
TranscodeDumb.pm
1.16
KB
-rw-r--r--
TranscodeSmart.pm
715
B
-rw-r--r--
XHTML.pm
24.93
KB
-rw-r--r--
XMLOutStream.pm
4.86
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Progress.pm
require 5; package Pod::Simple::Progress; $VERSION = '3.28'; use strict; # Objects of this class are used for noting progress of an # operation every so often. Messages delivered more often than that # are suppressed. # # There's actually nothing in here that's specific to Pod processing; # but it's ad-hoc enough that I'm not willing to give it a name that # implies that it's generally useful, like "IO::Progress" or something. # # -- sburke # #-------------------------------------------------------------------------- sub new { my($class,$delay) = @_; my $self = bless {'quiet_until' => 1}, ref($class) || $class; $self->to(*STDOUT{IO}); $self->delay(defined($delay) ? $delay : 5); return $self; } sub copy { my $orig = shift; bless {%$orig, 'quiet_until' => 1}, ref($orig); } #-------------------------------------------------------------------------- sub reach { my($self, $point, $note) = @_; if( (my $now = time) >= $self->{'quiet_until'}) { my $goal; my $to = $self->{'to'}; print $to join('', ($self->{'quiet_until'} == 1) ? () : '... ', (defined $point) ? ( '#', ($goal = $self->{'goal'}) ? ( ' ' x (length($goal) - length($point)), $point, '/', $goal, ) : $point, $note ? ': ' : (), ) : (), $note || '', "\n" ); $self->{'quiet_until'} = $now + $self->{'delay'}; } return $self; } #-------------------------------------------------------------------------- sub done { my($self, $note) = @_; $self->{'quiet_until'} = 1; return $self->reach( undef, $note ); } #-------------------------------------------------------------------------- # Simple accessors: sub delay { return $_[0]{'delay'} if @_ == 1; $_[0]{'delay'} = $_[1]; return $_[0] } sub goal { return $_[0]{'goal' } if @_ == 1; $_[0]{'goal' } = $_[1]; return $_[0] } sub to { return $_[0]{'to' } if @_ == 1; $_[0]{'to' } = $_[1]; return $_[0] } #-------------------------------------------------------------------------- unless(caller) { # Simple self-test: my $p = __PACKAGE__->new->goal(5); $p->reach(1, "Primus!"); sleep 1; $p->reach(2, "Secundus!"); sleep 3; $p->reach(3, "Tertius!"); sleep 5; $p->reach(4); $p->reach(5, "Quintus!"); sleep 1; $p->done("All done"); } #-------------------------------------------------------------------------- 1; __END__
Close