BSD Ports

net/p5-URI-Match 0.00001_1 DragonFly

Perl extension for matching URLs by parts

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
net, perl5
Package size
4.5 KiB, 5.8 KiB installed

Description

This is a simple utility that adds ability to match URL parts against regular expressions, subroutines, or objects that implement a match() method.

Since this module uses loops and method calls, writing up a clever regular expression and using it directly against the whole URL is probably faster. This module aims to solve the problem where readability matters, or when you need to assemble the match conditions at run time.

URI::Match adds the following methods to the URI namespace.

In the other systems

SystemPortVersion
DragonFlynet/p5-URI-Match0.00001_1
FreeBSDnet/p5-URI-Match0.00001_1
HardenedBSDnet/p5-URI-Match0.00001_1
GhostBSDnet/p5-URI-Match0.00001_1

Install

Binary package:

pkg install p5-URI-Match

From DPorts:

cd /usr/dports/net/p5-URI-Match && make install clean

Dependencies

Run dependencies 2