programming-examples/perl/Datatype/To disable integer math within a block.pl
2019-11-15 12:59:38 +01:00

11 lines
161 B
Perl

#!/usr/bin/perl -w
do {
# Use integer math inside block only.
no integer;
for ($i = 0; $i < 10; $i++) {
print "$i\n";
}
}