spaz has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (strings)
The following code produces some bizzare output.
Apparently, "a"++ = "b", and "z"++ = "aa". But if I ever try
to convert $string to a number "$number = (int $string)" I get 0.
Anybody know why?
--snip!--
--snip!--#!/usr/bin/perl my $string = "a"; for( $i = 0; $i < 64; $i++ ) { $string++; print "string = '$string'\n"; }
Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom