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