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

Re: [ID 20001129.007] Not OK: perl v5.7.0 +DEVEL7928 on VMS_AXP V7.1(UNINSTALLED)

Thread Next
From:
rspier
Date:
November 30, 2000 06:58
Subject:
Re: [ID 20001129.007] Not OK: perl v5.7.0 +DEVEL7928 on VMS_AXP V7.1(UNINSTALLED)
Message ID:
14886.27400.543193.518272@localhost.localdomain
PP> Hmmm.... OS/390 seems to be a bit messed up on this new test.
PP> With a domain name of FORTE.COM and the additonal bit to tests 4
PP> and 5 to print out C<# ",$h->name,"\n";> and C<# ",$i->name,"\n";>
PP> I obtain this new failure on test 4:

PP>  $ ./perl lib/net-hostent.t 1..5 ok 1 ok 2 ok 3 not ok 4 #
PP> localhost.FORTE.COM ok 5 # localhost

PP> would you have any recommendation for that one?  Is it within
PP> spec?  If not which spec?  Thanks.

That's really strange.  Does your net-hostent.t have the regex match
instead of the eq in it?  I think (your) regex version is better - so 
we'll be happy as long as it has /localhost/i in it.  It's in
perl-current at the moment.

Translation:  I think it's within spec - but don't see why the current 
code doesn't catch it.

perldl> $x = 'localhost.FORTE.COM'

perldl> print "ok" if $x =~ /localhost/i;
ok
perldl> print "not" if $x !~ /localhost/i;

perldl> 


Thread Next


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