App-get_flash_videos
view release on metacpan or search on metacpan
get_flash_videos view on Meta::CPAN
} else {
info "Please visit http://code.google.com/p/get-flash-videos to upgrade";
}
} else {
update_script($browser, $url, $info);
}
} else {
print STDERR "You already have the latest version.\n";
}
} else {
info "Development version, not updated";
}
update_plugins();
return 0; # exit code
}
sub update_script {
my($browser, $url, $info) = @_;
get_flash_videos view on Meta::CPAN
die "Couldn't install $plugin plugin";
}
}
}
}
# Upgrade a plugin or install a new one.
sub install_plugin {
my ($browser, $url, $file) = @_;
# So we can track newly installed plugins as well as updated ones
my $plugin_exists = -f $file;
my $new_file = $plugin_exists ? "$file.new" : $file;
$browser->mirror($url, $new_file);
if ($browser->response->is_success && -f $new_file) {
my $short_name = basename($file);
if ($plugin_exists) {
( run in 0.401 second using v1.01-cache-2.11-cpan-05444aca049 )