Help for this page

Select Code to Download


  1. or download this
    if (sysseek STDIN, 0, 1) {
        # run the optimized code
    } else {
        # run the slow code that stores data in memory instead of seeking 
    +back in the file
    }
    
  2. or download this
    if (-f STDIN || -b STDIN) {
        # fast code
    } else {
        # slow code
    }