BSD Ports

devel/p5-goto-file 0.005 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
12.1 KiB, 43.1 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
FreeBSDdevel/p5-goto-file0.005 newestnone known-[email protected]-
NetBSDdevel/p5-goto-file0.005nb1 newestnone known-[email protected]2026-07-16
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:

pkg install p5-goto-file

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-goto-file>0:devel/p5-goto-file

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0050.0050.0050.0050.005
FreeBSD:14:quarterly0.0050.005n/a0.0050.005
FreeBSD:15:latest0.0050.005n/a0.0050.005
FreeBSD:15:quarterly0.0050.005n/an/an/a
FreeBSD:16:latest0.0050.005n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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

As this port's Makefile names them.

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/goto/file.pm
  • %%PERL5_MAN3%%/goto::file.3.gz
distinfo 1
FileSizeSHA256
goto-file-0.005.tar.gz13012c6cdd5ee4a6cdcbdbf314d92a4f9985dbcdf9e4258048cae76125c052aa31f77
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.