Net::R...::Table(3pm)

πŸ“¦
version 0.02 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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. πŸ’…


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