M
Mark Hobley
The following loop works fine in Perl:
for ($l = 'a'; $l le 'y'; $l++) {
print "$l";
}
However, if I try to loop from a through to z, the loop does not work:
for ($l = 'a'; $l le 'z'; $l++) {
print "$l";
}
I know that a for each loop would work, but that is not what I want.
Regards,
Mark.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Telephone: (0121) 247 1596
International: 0044 121 247 1596
Email: markhobley at hotpop dot donottypethisbit com
http://markhobley.yi.org/
for ($l = 'a'; $l le 'y'; $l++) {
print "$l";
}
However, if I try to loop from a through to z, the loop does not work:
for ($l = 'a'; $l le 'z'; $l++) {
print "$l";
}
I know that a for each loop would work, but that is not what I want.
Regards,
Mark.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Telephone: (0121) 247 1596
International: 0044 121 247 1596
Email: markhobley at hotpop dot donottypethisbit com
http://markhobley.yi.org/