http://www.perlmonks.org?node_id=1039041


in reply to Re^2: Whats with the autoincrementation of a string
in thread Whats with the autoincrementation of a string

Sure, anything with leading digits which isn't a proper number is dealt by atoi in numeric context, IIRC that's due to some C legacy.

DB<109> @a=a..c => ("a", "b", "c") DB<110> $a[" 1x"] => "b"

plz note: only with no warnings!

Cheers Rolf

( addicted to the Perl Programming Language)