C.DeRykus wrote:
And, here's the doozy for me as I tried remembering:
If the final value specified is not in the sequence that the
magical increment would produce, the sequence continues
until the next value is longer than the final value specified.
^^^^^^
So, in the OP's 'u'..'z' example, the expansion stops at 'yz'
because another increment would be 'za' which is 'longer'
than the final value specified'; whereas, 'yz' isn't:
Actually, no. "z" is in the sequence, so it stops there.
Try:
for ( 'u' .. ' ' ){
print "$_ ";
}
print "\n";
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
I like Perl; it's the only language where you can bless your
thingy.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/