URI::udp(3pm)

πŸ“¦ version 2.0.0, in alpine 3.24

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