404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.144.101.154: ~ $
package LWP::MemberMixin;

our $VERSION = '6.31';

sub _elem {
    my $self = shift;
    my $elem = shift;
    my $old  = $self->{$elem};
    $self->{$elem} = shift if @_;
    return $old;
}

1;

__END__

=pod

=head1 NAME

LWP::MemberMixin - Member access mixin class

=head1 SYNOPSIS

 package Foo;
 use base qw(LWP::MemberMixin);

=head1 DESCRIPTION

A mixin class to get methods that provide easy access to member
variables in the C<%$self>.
Ideally there should be better Perl language support for this.

=head1 METHODS

There is only one method provided:

=head2 _elem

    _elem($elem [, $val])

Internal method to get/set the value of member variable
C<$elem>. If C<$val> is present it is used as the new value
for the member variable.  If it is not present the current
value is not touched. In both cases the previous value of
the member variable is returned.

=cut

Filemanager

Name Type Size Permission Actions
Authen Folder 0755
Debug Folder 0755
Protocol Folder 0755
ConnCache.pm File 8.53 KB 0644
Debug.pm File 2.7 KB 0644
DebugFile.pm File 67 B 0644
MediaTypes.pm File 6.31 KB 0644
MemberMixin.pm File 875 B 0644
Protocol.pm File 8.18 KB 0644
RobotUA.pm File 7.71 KB 0644
Simple.pm File 6.4 KB 0644
UserAgent.pm File 65.27 KB 0644
media.types File 48.65 KB 0644