Net-Google-PicasaWeb
view release on metacpan or search on metacpan
return sub {
exec("$FindBin::Bin/picasa-".$command, @args, @ARGV);
};
}
sub just($) {
my $code = shift;
$code->();
}
sub on($$) {
return unless $command;
my ($test_command, $run) = @_;
if (ref $test_command eq 'ARRAY') {
for my $test_command (@{ $test_command }) {
just $run if $command eq $test_command;
}
}
else {
just $run if $command eq $test_command;
( run in 1.783 second using v1.01-cache-2.11-cpan-524268b4103 )