Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use warnings;
    ...
    while(<>) {
     #... do something with the latest line, $_
    }
    
  2. or download this
    tail -f /var/log/apache2/access.log | myscript.pl