note
ikegami
<p>Statement modifiers are not nestable. But since
<c>
do { ... } for ...;
</c>
is legal, so is
<c>
do { ... for ... } for ...;
</c>
<p>But for readability's sake, just don't do that! Especially since
<c>
while (...) { ...}
</c>
<p>and
<c>
do { ...} while ...;
</c>
<p>have different semantics.
<p>A functional language approach would probably achieve what you want better.
<c>
print map ord, split //, `cat file.pl`;
</c>
<p>(Yeah, the outer loop is useless, as you can see.)
1000497
1000497