On Thu, 10 Jan 2002 12:11:53 -0500, [EMAIL PROTECTED] (Robert Hanson) wrote:
>You can increment letters just like you increment numbers. >$x = "a"; >$x++; >print $x; # prints "b" > >And the letter "z" incremented becomes "aa". > >$x = "z"; >$x++; >print $x; # prints "aa" > >So here is the script... > >$A = "a"; # assign "a" to $A. >for(0..285074){$A++;} # increment $A 285,074 times >print"$A\n"; # prints the new value I get it, so "perl" equals 285075 in a base24 number system, with the alphabet as it's units. For the sake of theoretical babbling, could this base24 number system be used to perform math operations in perl? Carry it to decimal points etc. Like perl.sdc ? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]