Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
        $n++ while -e "$logname.$n";
        rename $logname, "$logname.$n";
    }
    
  2. or download this
    #! perl -sw
    use strict;
    ...
    while( <LOG> ) {
        print;
    }