Help for this page

Select Code to Download


  1. or download this
    #!/bin/perl
    
    use File::Path;
    
  2. or download this
    #!/bin/perl
    use warnings;
    use strict;
    
    use File::Path;
    
  3. or download this
    sub removetimestamp() {
      my ($line) = @_;
    ...
    ...
    sub doLog() {
      my ($msg, $line) = @_;
    
  4. or download this
    sub removetimestamp() {
      my ($line) = @_;
    ...
        return ($time, $line);
      }
    }
    
  5. or download this
    sub removetimestamp {
      my ( $line ) = @_;
      ( my $time, $line ) = split / /, $line, 2;
    }
    
  6. or download this
            my ($time, $data) = removetimestamp($line);
            my ($key, $value) = keyValue($data);
    
  7. or download this
            my ($time, $data) = split / /, $line, 2;
            my ($key, $value) = split / /, $data, 2;