alle opties
bookworm  ] [  trixie  ] [  sid  ]
[ Bron: libgoto-file-perl  ]

Pakket: libgoto-file-perl (0.005-2)

Verwijzigingen voor libgoto-file-perl

Screenshot

Debian bronnen:

Het bronpakket libgoto-file-perl downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

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.

Andere aan libgoto-file-perl gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

libgoto-file-perl downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 6,7 kB22,0 kB [overzicht]