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

'b'..'a'

Thread Next
From:
Konovalov, Vadim
Date:
September 20, 2000 04:15
Subject:
'b'..'a'
Message ID:
402099F49BEED211999700805FC7359F75FA7B@ru0028exch01.spb.lucent.com
Hello.

I'm using defferent 5.6.0's for Win32.
I wonder wheter following behaviour is intentional or not:

d:\>perl -e "print 'b'..'c'"
bc

d:\>perl -e "print 'b'..'a'"
bcdefghijklmnopqrstuvwxyz

I expected empty list in latter case, like in 
perl -e "print 'bb'..'a'"

<!ENTITY Vadim REALLIFE "Vadim V.Konovalov, St.Petersburg, Russia">
&Vadim;

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