note
GotToBTru
<c>
$i = 2;
$j = 4;
print "$_\n" for ($i..$j);
</c>
<p>
Output:
</p>
<c>
2
3
4
</c>
<p>Update: I missed what was obvious to [choroba]. Not so much a flip-flop as a filter:</p>
<c>
# show lines 2 thru 4
while (<>) {
print if 2..4
}
# this will print every line
$i = 2;
$j = 4;
while (<>) {
print if $i..$j
}
</c>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-844862">
<center>Dum Spiro Spero</center>
</div></div>
1126534
1126534