- or download this
#!/usr/bin/env perl
use strict;
...
$col = $col + 1;
}
}
- or download this
#!/usr/bin/env perl
use strict;
...
print $num % 8 ? "\t" : "\n";
$num = $num + 1;
}
- or download this
use strict;
use warnings;
for (my $x = 1; $x <= 64; $x += 1) {
print $x, $x % 8 ? "\t" : "\n";
}
- or download this
perl -e 'print $_, $_ % 8 ? "\t" : "\n" for 1..64;'