BSD Ports

devel/p5-goto-file 0.005nb1 NetBSD

Stop parsing the current file and move on to a different one

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
6.8 KiB, 8.9 KiB installed

Description

It is rare, but there are times where you want to swap out the currently compiling file for a different one. This module does that. From the point you use the module perl will be parsing the new file instead of the original.

This was created specifically for Test2::Harness which can preload modules and fork to run each test. The problem was that using do to execute the test files post-fork was resuling in extra frames in the stack trace... in other words there are a lot of tests that assume the test file is the bottom of the stack. This happens all the time, specially if stack traces need to be verified.

This module allows Test2::Harness to swap out the main script for the new file without adding a stack frame.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-goto-file0.005nb1 newestnone known-[email protected]2026-07-16
FreeBSDdevel/p5-goto-file0.005 newestnone known-[email protected]-
DragonFlydevel/p5-goto-file0.005 newestnone known-[email protected]-
MidnightBSDdevel/p5-goto-file0.005 newestno data-[email protected]-
HardenedBSDdevel/p5-goto-file0.005 newestno data-[email protected]-
GhostBSDdevel/p5-goto-file0.005 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkgin install p5-goto-file

From pkgsrc:

cd /usr/pkgsrc/devel/p5-goto-file && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.005nb1
NetBSD 10.1 aarch640.005nb1
SmartOS / illumos x86_640.005nb1
macOS 15 arm640.005nb1

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1
Required by 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0