OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

p5-Devel-SawAmpersand-0.33p2

assert performance of perl regexps

Back to search · Project homepage

Description

The Devel::SawAmpersand module only provides one function: $bool = Devel::SawAmpersand::sawampersand(); which is set to true if perl saw any of $`, $', $& in its code. Devel::FindAmpersand is a bit more precise. B::FindAmpersand is supposed to scan code to look for those variables, but it doesn't appear to be very reliable. Due to some design decisions, regexp matching suffers from performance issues as soon as one of these variables is used.

Package information

Ports path
devel/p5-Devel-SawAmpersand
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

None listed in sqlports.

Installing and updating packages · Package details as JSON