File: control

package info (click to toggle)
libgoto-file-perl 0.005-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 152 kB
  • sloc: perl: 72; makefile: 2
file content (37 lines) | stat: -rw-r--r-- 1,654 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Source: libgoto-file-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Mason James <mtj@kohaaloha.com>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13)
Build-Depends-Indep: libfilter-perl <!nocheck>,
                     libtest-simple-perl <!nocheck>,
                     libtest2-suite-perl <!nocheck>,
                     perl
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libgoto-file-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libgoto-file-perl.git
Homepage: https://metacpan.org/release/goto-file
Rules-Requires-Root: no

Package: libgoto-file-perl
Architecture: all
Depends: ${misc:Depends},
         ${perl:Depends},
         libfilter-perl
Description: Perl module that allows swapping the currently compiling file for a new one
 goto::file allows Test2::Harness to swap out the main script for the new
 file without adding a stack frame.
 .
 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 module 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.