devel/p5-goto-file 0.005 DragonFly
Stop parsing the current file and move on to a different one
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 11.4 KiB, 43.3 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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-goto-file | 0.005 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-goto-file | 0.005 newest | none known | - | [email protected] | - |
| NetBSD | devel/p5-goto-file | 0.005nb1 newest | none known | - | [email protected] | 2026-07-16 |
| MidnightBSD | devel/p5-goto-file | 0.005 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/p5-goto-file | 0.005 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-goto-file | 0.005 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-goto-file
From DPorts:
cd /usr/dports/devel/p5-goto-file && make install clean
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.