develooper Front page | perl.perl5.porters | Postings from October 2000

Re: off to a bad start on fixing regression tests

From:
Philip Newton
Date:
October 10, 2000 05:14
Subject:
Re: off to a bad start on fixing regression tests
Message ID:
39E3243C.14828.F9664C@localhost
On 9 Oct 2000, at 17:34, Peter Prymmer wrote:

> The odd thing is that the in-eq-quality of "\xE0_" and "/_" appears
> under both perl 5.005_03 and @7159 as these one-liners demonstrate:
> 
>  $ perl5.005_03 -e ' print "\xE0_" eq "/_"   ? "ok" : "not ok", " 44\n";'
>  not ok 44
>  $ perl5.005_03 -e ' print "\x{E0}_" eq "/_" ? "ok" : "not ok", " 44\n";'
>  not ok 44

Both of those code examples, as well as your preliminary text, appear 
to have the literal string "forward slash, underscore".

>  $ perl5.005_03 -e ' print "\xE0_" ' | od -c
>  0000000000     \   _
>  0000000002

This appears to print out "backslash, underscore".

I do not find it surprising that "\N{SOLIDUS}" ne "\N{REVERSE 
SOLIDUS}".

> I am mystified.

Do these two characters:   /  \    look similar in the font you are using? 
The first is a forward slash, the second a backslash.

Cheers,
Philip
-- 
Philip Newton <pnewton@gmx.de>



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About