self test fails for large values of $$

/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.
ftu [ Mo, 17 September 2007 14:08 ] [ ID #1822720 ]
Perl » perl.libwww » self test fails for large values of $$

Vorheriges Thema: Fwd: CPAN Upload: P/PE/PETDANCE/WWW-Mechanize-1.31_01.tar.gz
Nächstes Thema: HTTP::Cookies destructor