Help for this page

Select Code to Download


  1. or download this
    sub genBufferedGetNum {
        return sub {
    ...
    while( my @part  = $getNum->() ) {
      print @part, "\n";
    }
    
  2. or download this
    $: cat tb.dat
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
    $:
    
  3. or download this
    $: cat tb.dat | perl tb.pl
    01234
    ...
    01234
    56789
    0