Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    
    print '*** Captured via $tail_pipe:', "\n";
    print for @tail_captures;
    
  2. or download this
    $ cat > pm_test_file_to_tail
    line 1
    line 2
    line 3
    
  3. or download this
    $ cat >> pm_test_file_to_tail
    line 4
    line 5
    
  4. or download this
    $ pm_test_tail_pipe.pl
    *** Start reading from $tail_pipe at 1371707519
    
  5. or download this
    line 6
    line 7
    
  6. or download this
    ^C*** Stop reading from $tail_pipe at 1371707542
    *** Captured via $tail_pipe:
    ...
    LINE 5
    LINE 6
    LINE 7
    
  7. or download this
    line 8
    line 9
    
  8. or download this
    $ cat pm_test_file_to_tail
    line 1
    ...
    line 7
    line 8
    line 9