URI::udp(3pm)
okay bestie, this is URI::udp β a User Contributed Perl Documentation page from the 3pm manual, and itβs literally giving UDP connection string energy π
β¨
π NAME π
URI::udp β udp connection string π
β¨ SYNOPSIS β¨
bestie, hereβs the whole vibe in code:
$uri = URI->new('udp://host:1234');
$sock = IO::Socket::INET->new(
PeerAddr => $uri->host,
PeerPort => $uri->port',
Proto => $uri->protocol,
);
π¦ DESCRIPTION π¦
URI extension for UDP protocol. Thatβs the whole description, no cap π«Ά
π₯ EXTENDED METHODS π₯
π protocol() π
returns udp
same as the "scheme" method β literally the same energy π
π contributing π
for dependency use cpanfile... π
for resolve dependency use Carton (or carton - is more experimental) β¨
carton install
for run test use "minil test" π
carton exec minil test
if you donβt have perl environment, is best way use docker π³
docker run -it -v $PWD:/tmp/work -w /tmp/work avastsoftware/perl-extended carton install
docker run -it -v $PWD:/tmp/work -w /tmp/work avastsoftware/perl-extended carton exec minil test
π warning π
docker run default as root, all files which will be make in docker will be have root rights π
one solution is change rights in docker:
docker run -it -v $PWD:/tmp/work -w /tmp/work avastsoftware/perl-extended bash -c "carton install; chmod -R 0777 ."
or after docker command (but you must have root rights) β noted, bestie π
π LICENSE π
Copyright (C) Avast Software.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
π«Ά AUTHOR π«Ά
Jan Seidl <seidl@avast.com>
brought to you by perl v5.42.2, dated 2026-02-15 β bye bestie, go slay those UDP URIs π
π
π¦ where this page comes from
- alpine 3.24: perl-uri-tcp-doc 2.0.0-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms