Net::Route::Parser(3pm)

Net::Route::Parser3pm

Internal class

Usage

Not used directly.

Version

Revision $Revision: 363 $.

Overview

This is a base class for the system-specific parsers. It is not usable directly (abstract).

System-specific parsers should inherit from this class to obtain common functionality.

Interface

This interface is subject to change until version 1.

Object Methods

from_system()

Implementation of "Net::Route::Table::from_system()".

command_line() [pure virtual]

What you want to read the information from, as either:

•

a string - it will undergo shell expansion

•

an arrayref - the command and its arguments, without shell expansion

Implement this in subclasses.

parse_routes( $text_lines_ref ) [pure virtual]

Reads and parses the routes from the output of the command, returns an arrayref of Net::Route objects.

create_ip_object ( $address, $mask )

Factory of NetAddr::IP objects for centralized error management. Dies if the arguments do not constitute a valid IP or network address.

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–11
  2. 12
  3. 13

Author

Created by Alexandre Storoz, "<[email protected]>"

Maintained by Thomas Equeter, "<[email protected]>"

From libnet-route-perl 0.02-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.