URI, Perl 5.8.0, os2
am 29.05.2006 20:22:59 von developmentHi
I just tried to install URI-1.35 and one testprogram throws an error:
t/old-base.......ok 3/8'file:///T:/tmp/'->as_string() =
'file:///T:/tmp/' (expected 'file:/T:/tmp/')
$VAR1 = bless( [
bless( do{\(my $o = 'file:///T:/tmp/')}, 'URI::file' )
], 'URI::URL' );
t/old-base.......FAILED test 4
Failed 1/8 tests, 87.50% okay
Firefox in os2 shows something like
'file:///T:/home/robert/.cpan/build/URI-1.35/t/roytest3.html ' when I
open a file. In the testprogram I found some errors (for os2 users):
line 653: $pwd will be 'pwd' and that is not an original os2 program but
a linux port. The Win32 term 'cd' will not work within os2. The correkt
term would be 'cmd /c cd'!
line 657: Like within Win32 $ENV{TEMP} should be used.
(Why is ($^O eq 'MSWin32') used and not the flag value $isMSWin32?)
In line 687 the error occurs and the program stops.
I do not know if it is a critical error, maybe I just can ignore it.
best regards
Robert Berghaus