fork download
  1. while (<DATA>) {
  2. print '..', $_ if 1..($. >= 1);
  3. print '...', $_ if 1...($. >= 1);
  4. }
  5. __DATA__
  6. 1
  7. 2
  8. 3
  9.  
Success #stdin #stdout 0s 3608KB
stdin
Standard input is empty
stdout
..1
...1
...2