BSD Ports

devel/p5-Sub-Name 0.28,1 DragonFly

Module to assign new names to Perl subroutines

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
15.0 KiB, 55.0 KiB installed

Description

The subname() function exported by this module allows one to assign new names to Perl subroutine. This is different from glob-assignment, since the name is only used for informational purposes (caller, Carp, etc.).

Note that for anonymous closures (subs that reference lexicals declared outside the sub itself) one can name each instance of the closure differently, which can be very useful for debugging.

In the other systems

The newest version among them is 0.28, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Sub-Name0.28,1 newestnone known-[email protected]-
FreeBSDdevel/p5-Sub-Name0.28,1 newestnone known-[email protected]-
OpenBSDdevel/p5-Sub-Name0.28 newestno data-Alexander Bluhm <[email protected]>-
NetBSDdevel/p5-Sub-Name0.28nb2 newestnone known-[email protected]2026-07-16
MidnightBSDdevel/p5-Sub-Name0.28,1 newestno data-[email protected]-
HardenedBSDdevel/p5-Sub-Name0.28,1 newestno data-[email protected]-
GhostBSDdevel/p5-Sub-Name0.28,1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Sub-Name

From DPorts:

cd /usr/dports/devel/p5-Sub-Name && make install clean

Dependencies

Run dependencies 1