From nobody Mon Feb 21 20:22:37 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0D8ED19D6A34 for ; Mon, 21 Feb 2022 20:24:06 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K2Yfr65lVz3sDN for ; Mon, 21 Feb 2022 20:24:04 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1645474972; bh=W2nsGNJ/nKM1T+plaatD8nRB5vqzSptF1+OR2ki4HMk=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Content-Language: To:From:Subject:Content-Type:Content-Transfer-Encoding; b=Lnv/lEOfnsrEtE9ZWhFsYZgBzpKTO6RboD7hYcfp0ejvB+zUi3YGeM41JJxnGVWgs a5uPL5muTJHmDBZuKMufK0RtK9EiIGfcXZAc7Uii9Kjf7XU3lcSfXDk7Q7PiGrOoxZ qXITB3fbZWXNDP7zu8LR3U7CEZI0SAnuqsIVgiMzQkq7B9fjUQSap09wE4mWO2oQPP 7UvKMKDHCqx2CyiqMuRcx5W/jeDktcclFaUnxwLBPRiEkPgU1HohZ7Shb9gS1c5ICQ W4pBPru6/xAjcn5olICZpA1km4cBCtYHbE47yTi8QCS0RDUc46a1Xb6pQik7oi7LWP HzhBK3T8TFLGcnTcS0raRSbnHeXAZes6KE69NE5DT021t0ovmPR58BctfqBRfwGsaw O9HIH1p7wagZ4VS5pJjNKb0zlJQfgC0J7xI8y/qbHLfdWpR3572ZHzfZqhQDZulwLq 4CzeYm2sRspgVnOPlBOfzOlPVr/u0TiuhXFwT1//ATkr8FZZKokCP9YYkRTCbetaf0 lm6zraI4OPZF6o/RZuE5aj081drjfqcaHv09K5pnM18+hEsijeAgARsXNwf0KNg74s d+lLDnxuk6apDI8VHeGoswg24DNzMYq3JJHwNn+3AQv+gd8u7C436AwYEIRoWlACKZ v2DeE4Uz5VmkLUi479MEMtMg= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Mon, 21 Feb 2022 12:22:52 -0800 Message-ID: <844db642-cc03-e87c-9ceb-bf0b887f0f90@holgerdanske.com> Date: Mon, 21 Feb 2022 12:22:37 -0800 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: freebsd-questions@freebsd.org From: David Christensen Subject: FreeBSD 12.3-RELEASE amd64, Perl, and URI::Escape Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4K2Yfr65lVz3sDN X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b="Lnv/lEOf"; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 184.105.128.27 as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[holgerdanske.com:+]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-questions]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N freebsd-questions: I have a computer: 2022-02-21 12:09:21 toor@f4 ~ # freebsd-version ; uname -a 12.3-RELEASE FreeBSD f4.tracy.holgerdanske.com 12.3-RELEASE FreeBSD 12.3-RELEASE r371126 GENERIC amd64 I have installed Perl: 2022-02-21 12:09:28 toor@f4 ~ # pkg query -g %o perl* lang/perl5.32 When I try to use the Perl module URI::Escape, Perl complains that URI::Escape is not installed: 2022-02-21 12:09:41 toor@f4 ~ # perl -MURI::Escape -e 1 Can't locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32). BEGIN failed--compilation aborted. If I search for a FreeBSD package containing URI::Escape: 2022-02-21 12:12:01 toor@f4 ~ # pkg search URI | grep -i p5 | grep -i escape p5-Any-URI-Escape-0.01_1 Load URI::Escape::XS preferentially over URI::Escape p5-URI-Escape-JavaScript-0.04_1 Perl implementation of JavaScript's escape()/unescape() functions p5-URI-Escape-XS-0.14 Drop-In replacement for URI::Escape in XS And install what appears to be the closest matches: 2022-02-21 12:12:21 toor@f4 ~ # pkg install p5-Any-URI-Escape p5-URI-Escape-XS Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The most recent versions of packages are already installed URI::Escape is not installed (as above): 2022-02-21 12:17:05 toor@f4 ~ # perl -MURI::Escape -e 1 Can't locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32). BEGIN failed--compilation aborted. How do I determine what FreeBSD package contains URI::Escape? 2022-02-21 12:14:55 toor@f4 ~ # pkg which Escape.pm /root/Escape.pm was not found in the database 2022-02-21 12:16:53 toor@f4 ~ # pkg which URI/Escape.pm /root/URI/Escape.pm was not found in the database David