Another trick is to use the modulus operator (%) to only print every 100th, 1000th, etc., line number:
YuckFoo
#!/usr/bin/perl $|++; for my $i (0..10000000) { $i % 100000 or print "line: $i\r"; }
In reply to Re: Typeover output
by YuckFoo
in thread Typeover output
by L8on
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |