App-sdif

 view release on metacpan or  search on metacpan

lib/App/cdif/Command.pm  view on Meta::CPAN

    if (@_ == 1) {
	return $obj->{OPTION}->{+shift};
    } else {
	while (my($k, $v) = splice @_, 0, 2) {
	    $obj->{$k} = $v;
	}
	return $obj;
    }
}

sub update {
    use Time::localtime;
    my $obj = shift;
    $obj->data(join "\n", map { $obj->execute($_) } $obj->command);
    $obj->date(ctime());
    $obj;
}

sub execute {
    my $obj = shift;
    my $command = shift;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.056 second using v1.00-cache-2.02-grep-82fe00e-cpan-204989e17d7 )