MODALIAS=acpi:PNP0501:
  /   ˆl–Ým_JÕ4Å@¹q¶®6Ò˜´oÃƒ._‹uÐb&=LV[(ÃÂ Q    package LWP::Protocol::cpan;

use strict;

use base qw(LWP::Protocol);

our $VERSION = '6.53';

require URI;
require HTTP::Status;
require HTTP::Response;

our $CPAN;

unless ($CPAN) {
    # Try to find local CPAN mirror via $CPAN::Config
    eval {
	require CPAN::Config;
	if($CPAN::Config) {
	    my $urls = $CPAN::Config->{urllist};
	    if (ref($urls) eq "ARRAY") {
		my $file;
		for (@$urls) {
		    if (/^file:/) {
			$file = $_;
			last;
		    }
		}

		if ($file) {
		    $CPAN = $file;
		}
		else {
		    $CPAN = $urls->[0];
		}
	    }
	}
    };

    $CPAN ||= "http://cpan.org/";  # last resort
}

# ensure that we don't chop of last part
$CPAN .= "/" unless $CPAN =~ m,/$,;


sub request {
    my($self, $request, $proxy, $arg, $size) = @_;
    # check proxy
    if (defined $proxy)
    {
	return HTTP::Response->new(HTTP::Status::RC_BAD_REQUEST,
				   'You can not proxy with cpan');
    }

    # check method
    my $method = $request->method;
    unless ($method eq 'GET' || $method eq 'HEAD') {
	return HTTP::Response->new(HTTP::Status::RC_BAD_REQUEST,
				   'Library does not allow method ' .
				   "$method for 'cpan:' URLs");
    }

    my $path = $request->uri->path;
    $path =~ s,^/,,;

    my $response = HTTP::Response->new(HTTP::Status::RC_FOUND);
    $response->header("Location" => URI->new_abs($path, $CPAN));
    $response;
}

1;
  5   	ˆl–ß=¿Jõ!®Å8 ¸®6ò˜´oÅ„iá:/_�uÐb&=L‰*VBl(éÅÄ ?÷     	ELF          >    PH      @       Ðµ          @ 8  @                                 X8      X8                    @       @       @      Q2      Q2                    €       €       €      ,      ,                   ðŸ      ð¯      ð¯                                ¨«      ¨»      ¨»                                 ¨      ¨      ¨                                   È      È      È      $       $              Såtd   ¨      ¨      ¨                             Påtd   Ø•      Ø•      Ø•                         Qåtd                                                  Råtd   ðŸ      ð¯      ð¯                                   GNU   À                   GNU ç&Ë­Äå�$DÚo˜‘z¨³ô+_       ,         €@a ®$@!HT@ J€P(� !(ˆ,   /       1   4   7   9       :       ;   A   D   F   H   I   J   (.ZhÃèGEcCL&=ƒòÜáZÈ|c®
ù×—‰øzúÑl3Ò²¿FÏÈà­�!nÛÝ§#³"A�|BA$ÈÐ%¯ŠˆË³ˆÝl6þ;Ó…r·lêr…|ÂÅk¯åÈè–ƒ|9œ•ÂLÁFcwÕ'D-­•�¡¼ #‚¿g                        o                     Z                     Ò                      z                      ª                      ñ                      *                                            ,                     �                      Ë                      C                     H                     {                     Ú                      §                                          ½                     •                      ÿ                                           s                      :                                          %                     M                     ù                                             ¶                     t                                                               œ                      ‰                      £                      Ä                     ¯                      ½                      ,                       F   "                   �                     a                     ¶                      Ö     Y      ø      ú    ÀX      5       ®     q                 `Q      Ÿ      
    àO      w      ì    `[      {       º    q      Ò       Ø     r      C       A    ÐT      J       3     T      É       l      I      ¡           P\      H       Ë    €X      9       —     m             ’     l      [       †    l      _       Ë    ðq             ƒ     V      …       U     I             á     [      ^       ¡    �V      —       %    e      _      