in reply to Re: PAR-Packer and IPC-Run
in thread PAR-Packer and IPC-Run

I tried including use Win32::Process and pp -M Win32:: without any luck.

Line 2244 is an empty line. It's between two statements that are at the top of most of the subroutines:

&_assert_finished; my IPC::Run $self = shift;
And that subroutine doesn't appear to do anything too interesting.
sub _assert_finished { my IPC::Run $self = $_[0]; croak "Harness not run" unless $self->{STATE} >= _finished; croak "Harness not finished running" unless $self->{STATE} == _fin +ished; }
Line 2143 is: $? = $kid->{RESULT} = 0x0F;

There are commented line numbers that are exactly 1337 lines different from the actual line numbers, which seems intentional, but those just lead to another empty line and an array declaration. =/

Replies are listed 'Best First'.
Re^3: PAR-Packer and IPC-Run
by bliako (Abbot) on Oct 11, 2023 at 07:16 UTC

    Are you sure you are looking at the correct Run.pm ? There may be multiple instances of that file in your system ... you can always test by adding some debug message in it (perhaps just a die) and verify.