{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Stop parsing the current file and move on to a different one","compare":"/compare/p5-goto-file/index.json","dependentCount":null,"description":"It is rare, but there are times where you want to swap out the currently\ncompiling file for a different one. This module does that. From the point you\nuse the module perl will be parsing the new file instead of the original.\n\nThis was created specifically for Test2::Harness which can preload modules and\nfork to run each test. The problem was that using do to execute the test files\npost-fork was resuling in extra frames in the stack trace... in other words\nthere are a lot of tests that assume the test file is the bottom of the stack.\nThis happens all the time, specially if stack traces need to be verified.\n\nThis module allows Test2::Harness to swap out the main script for the new file\nwithout adding a stack frame.","flavors":[],"html":"https://daemonports.org/midnightbsd/devel/p5-goto-file/","kind":"port","lastUpdate":null,"license":["artistic","gpl"],"maintainer":"ports@MidnightBSD.org","name":"p5-goto-file","newest":true,"newestVersion":"0.005","noVulnData":true,"origin":"devel/p5-goto-file","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-goto-file","path":"/devel/p5-goto-file/","system":"FreeBSD","version":"0.005"},{"maintainer":"wen@NetBSD.org","newest":true,"origin":"devel/p5-goto-file","path":"/netbsd/devel/p5-goto-file/","system":"NetBSD","updated":"2026-07-16","version":"0.005nb1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-goto-file","path":"/dragonfly/devel/p5-goto-file/","system":"DragonFly","version":"0.005"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-goto-file","path":"","system":"HardenedBSD","version":"0.005"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-goto-file","path":"","system":"GhostBSD","version":"0.005"}],"packages":null,"pkgName":"p5-goto-file-0.005","related":null,"repository":"mports","requiredBy":["devel/p5-Test2-Harness"],"requiredByCount":1,"runDepends":[],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"0.005","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/goto-file"}
