Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        close $fh;
        sleep 2;
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
        $_=<$p>;
        print "got: $_"
    }
    
  3. or download this
    #!/usr/bin/perl
    
    ...
        $t = scalar localtime;
        print "reading at $t, got: $_"
    }