Mojo::...Netcls(3pm)
β¨ NAME β¨
Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Netcls β it's the CGroups v1 Netcls Controller, bestie π
Like, yes, that whole name is a mouthful. It's giving "my parents gave me eleven middle names" energy. But we move π¦
πΈ SYNOPSIS πΈ
Okay so here's the vibe, literally just:
use Mojo::IOLoop::ReadWriteProcess::CGroup::v1;
my $cgroup = Mojo::IOLoop::ReadWriteProcess::CGroup::v1->new( name => "test" );
$cgroup->netcls->current;
That's it. That's the whole thing. No cap β¨
π DESCRIPTION π
So basically: this module uses features that are only available on Linux, and it needs cgroups and capability for unshare syscalls to achieve pid isolation.
π«Ά Important bestie note: Linux-only. If you're on macOS or BSD, this is not your moment, and no amount of manifestation is gonna change that. And you genuinely need the cgroups setup plus the capability for unshare syscalls for the pid isolation to happen β that's the whole point, iykyk.
π METHODS π
Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Netcls inherits all methods from Mojo::Base and implements the following new ones.
(And that's the entire list, girl. The new ones are listed below, and "below" is... nothing. So it's just the inherited Mojo::Base methods doing their thing. Inheriting is slay, honestly β why write new code when your ancestors already ate π)
π LICENSE π
Copyright (C) Ettore Di Giacinto.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
π AUTHOR π
Ettore Di Giacinto <edigiacinto@suse.com>
Okay that's the whole page, bestie, you're officially an expert πβ¨π
Sign-off tea: this was pulled from the Perl documentation for perl v5.42.0, dated 2025-07-25. So when you see Mojo::...Netcls(3pm) floating around, that's just this little icon right here. Byeee π¦πΈπ
π¦ where this page comes from
- fedora 43: perl-Mojo-IOLoop-ReadWriteProcess 1.1.0-2.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms