Help for this page

Select Code to Download


  1. or download this
    for ( @data ) {
       sysopen ($fh, "$log", O_WRONLY|O_APPEND);
       $fh->print ("$_");
       close $fh;
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
       my $line = `head -$_ $filename | tail -1`;
       print $line;
    }