App-Todo
view release on metacpan or search on metacpan
bin/todo.pl view on Meta::CPAN
print color('reset'), ' ', color('dark');
print '[' . $t->{tags} . ']';
}
$t->{owner} =~ s/<nobody>/<nobody\@localhost>/;
$t->{requestor} =~ s/<nobody>/<nobody\@localhost>/;
my ($owner) = Email::Address->parse($t->{owner});
my ($requestor) = Email::Address->parse($t->{requestor});
my $not_owner = lc $owner->address ne lc $config{email};
my $not_requestor = lc $requestor->address ne lc $config{email};
if( $t->{group} || $not_owner || $not_requestor ) {
print color('reset'), ' ', color('dark');
print '(';
print join(", ",
$t->{group} || "personal",
$not_requestor ? "for " . $requestor->name : (),
$not_owner ? "by " . $owner->name : (),
);
print ')';
}
print color('reset');
print "\n";
}
}
sub do_task {
( run in 0.470 second using v1.01-cache-2.11-cpan-cc502c75498 )