Net::R...::Table(3pm)
π Net::R...::Table π
okay bestie, so this is the Net::R...::Table page from the User Contributed Perl Documentation β yes it's a real manual page, and yes it's lowkey iconic. it's all about routing tables, like the one your actual system is running right now. periodt.
β¨ NAME β¨
Net::Route::Table β a routing table, such as your system's. fr fr, that's the whole vibe. π
πΈ SYNOPSIS πΈ
use Net::Route::Table;
$table_ref = Net::Route::Table->from_system();
my $default_route_ref = $table_ref->default_route();
my $routes_ref = $table_ref->all_routes();
look at her. four lines. main character energy. π
π VERSION π
Revision $Revision: 363 $. that's the one, bestie. β¨
π¦ DESCRIPTION π¦
so this class represents a routing table, okay? it can be read from the system, and it gives you access to appropriate selections of routes. that's it, that's the whole thing, and honestly? we're obsessed. π
π INTERFACE π
π§ Class Methods
from_system()
Returns the system's routing table as a Net::Route::Table object. like it just goes and gets it. for you. because you deserve it. π«Ά
π Object Methods
default_route()
Returns the current default route of the system as a Net::Route object. the one route to rule them all, no cap. β
all_routes()
Returns the complete routing table as an arrayref of Net::Route objects.
and here's the tea π: the active routes are listed first, then the results are sorted by increasing metric. so like, actives up front, then everyone else ordered by metric going up. iykyk.
π AUTHOR π
Created by Alexandre Storoz, "<astoroz@straton-it.fr>"
Maintained by Thomas Equeter, "<tequeter@straton-it.fr>"
giving credit where credit is due, as we should. π
π LICENSE AND COPYRIGHT π
Copyright (C) 2009 Straton IT.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
so like, go forth and remix, bestie, just keep it under the same terms as Perl itself. slay. π
and that's a wrap on the Net::R...::Table(3pm) page, generated with perl v5.36.0 and dated 2023-06-15 β thanks for reading, mwah πβ¨π¦
π¦ where this page comes from
- debian trixie: libnet-route-perl 0.02-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libnet-route-perl 0.02-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-route-perl 0.02-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-route-perl 0.02-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms