self test fails for large values of $$

Dick Wesseling <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
/t/thml/form.t assumes that pids are <= 99999999.

For larger values of $$ the result of:

my $filename = sprintf "foo-%08d.txt", $$;

contains 9 or more digits and as a result the Content-Length
of the test message will not be 139.

Replacing the format string with "foo-%08X.txt" solves the problem.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.