$output = capture("$comando"); ... $outTitolo = capture("$titolo");
Why are you copying $comando and $titolo to strings instead of using them directly?
What's wrong with always quoting "$vars"?
undef my $oreTotali;
Why would you use undef there? Just because you can? It is superfluous in that context.
print FILE "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
Probably better as:
print FILE "\n" x 17;
sub count_unique { my @array = @_; my %count; map { $count{$_}++ } @array;
Why make a copy of @_ when you don't really have to? Why use map in void context and create a list that you are not going to use?
sub count_unique { my %count; $count{$_}++ for @_;
In reply to Re: here is a script to log what you do during the day...
by jwkrahn
in thread here is a script to log what you do during the day...
by gianni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |