view release on metacpan or search on metacpan
lib/CPAN/Mini/FromList.pm view on Meta::CPAN
our %dists = ();
sub update_mirror {
my $self = shift;
my @args = @_;
my %args=@args;
foreach my $d (@{$args{list}}) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Growl.pm view on Meta::CPAN
use Parse::CPAN::Authors;
my $AppName = "CPAN::Mini::Growl";
my $EventType = "New Distribution";
sub update_mirror {
my $class = shift;
my $self = $class->SUPER::new(@_);
$self->SUPER::update_mirror;
Mac::Growl::RegisterNotifications($AppName, [ $EventType ], [ $EventType ]);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Inject/Remote.pm view on Meta::CPAN
Calls the update function on the remote server
=cut
sub update {
my $self = shift;
my %args = validate(@_,
{
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Inject/Server.pm view on Meta::CPAN
Updates the cpan mirror
=cut
sub update :Runmode {
my $self = shift;
my $mcpi = $self->_mcpi();
$mcpi->update_mirror();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Inject.pm view on Meta::CPAN
This is a subclass of CPAN::Mini.
=cut
sub update_mirror {
my $self = shift;
my %options = @_;
croak sprintf "$0: local directory <%s> is not writable. Cannot update mirror.", $self->config->get( 'local' )
unless -w $self->config->get('local');
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Live.pm view on Meta::CPAN
use warnings;
use AnyEvent::FriendFeed::Realtime;
use base qw( CPAN::Mini );
our $VERSION = '0.33';
sub update_mirror {
my $self = shift;
$self = $self->new(@_) unless ref $self;
# first we have to catch up if we've missed anything
$self->trace("updating mirror...\n");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Patches/Plugin/Debian.pm view on Meta::CPAN
use File::chdir;
use Debian::Dpkg::Version 'version_compare';
use CPAN::Patches 0.04;
use File::Basename 'basename';
sub update_debian {
my $self = shift;
my $path = shift || '.';
$self = $self->new()
if not blessed $self;
view all matches for this distribution
view release on metacpan or search on metacpan
note('Testing with CPAN::Reporter::Smoker::OpenBSD::PerlConfig');
is_deeply( $data_ref, $expected, 'block_distro works as expected' )
or diag( explain($data_ref) );
}
sub update_per_env {
my $expected = shift;
my $shortcut = $expected->{match}->{perlconfig};
$shortcut->{osname} = $Config{osname};
$shortcut->{archname} = $Config{archname};
my $attrib_name = 'useithreads';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/SQLite/META.pm view on Meta::CPAN
my $obj = CPAN::SQLite->new(setup => 1);
$obj->index() or die qq{CPAN::SQLite setup failed};
return;
}
sub update {
my $obj = CPAN::SQLite->new();
$obj->index() or die qq{CPAN::SQLite update failed};
return;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Search/Lite/PPM.pm view on Meta::CPAN
$sth->finish;
$self->{curr_mtimes} = $mtimes;
return 1;
}
sub update_mtime {
my $self = shift;
my $mtimes = $self->{update_mtimes};
unless ($dbh) {
$self->{error_msg} = q{No db handle available};
return;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Site/Index.pm view on Meta::CPAN
sub package_on_usual_location($);
sub inspect_archive;
sub inspect_tar_archive($$);
sub inspect_zip_archive($$);
sub collect_package_details($$$);
sub update_global_cpan($$);
sub load_file($$);
sub merge_global_cpan($$$);
sub create_details($$$$$);
sub calculate_checksums($$);
sub read_details($);
lib/CPAN/Site/Index.pm view on Meta::CPAN
$VERSION = $VERSION->numify if ref $VERSION;
register $package, $VERSION, $dist
if defined $package;
}
sub update_global_cpan($$)
{ my ($mycpan, $globalcpan) = @_;
my $global = catdir $mycpan, 'global';
my ($mailrc, $globdetails, $modlist) =
map { catfile $global, $_ }
view all matches for this distribution
view release on metacpan or search on metacpan
note('Testing with CPAN::Reporter::Smoker::OpenBSD::PerlConfig');
is_deeply( $data_ref, $expected, 'block_distro works as expected' )
or diag( explain($data_ref) );
}
sub update_per_env {
my $expected = shift;
my $shortcut = $expected->{match}->{perlconfig};
$shortcut->{osname} = $Config{osname};
$shortcut->{archname} = $Config{archname};
my $attrib_name = 'useithreads';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Testers/Data/Addresses.pm view on Meta::CPAN
$self->print_addresses();
$self->_log("stopping search");
}
sub update {
my $self = shift;
my ($new,$all,$add,$err) = (0,0,0,0);
$self->_log("starting update");
my $fh = IO::File->new($self->{options}{update}) or die "Cannot open mailrc file [$self->{options}{update}]: $!";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Testers/Data/Uploads.pm view on Meta::CPAN
}
$self->_log("Reindexing authors done");
}
sub update {
my $self = shift;
my $db = $self->uploads;
$self->_open_journal();
view all matches for this distribution
view release on metacpan or search on metacpan
example/monitor.pl view on Meta::CPAN
printf "%s: %s ( %s on \e[35m%-40s\e[0m => \e[34m%s\e[0m )\n",
$grade, $filename, $perl, $item->platform, $item->uuid;
}
sub update {
my $did_match = 0;
my $new_items = 0;
my $iter = $fetcher->get_iter;
my $first_uuid;
while ( my $item = $iter->() ) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Testers/WWW/Statistics.pm view on Meta::CPAN
my $stats = CPAN::Testers::WWW::Statistics::Pages->new(parent => $self);
$stats->update_full();
}
sub update {
my $self = shift;
$self->_check_files();
my $stats = CPAN::Testers::WWW::Statistics::Pages->new(parent => $self);
$stats->update_data();
view all matches for this distribution
view release on metacpan or search on metacpan
script/cpan2aur view on Meta::CPAN
END_ERROR
return %info;
}
sub update_if_old
{
my ($thing) = @_;
status "Checking if $thing is up to date...";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPANPLUS/Dist/Gentoo.pm view on Meta::CPAN
Updates the F<Manifest> file for the ebuild associated to the current dist object.
=cut
sub update_manifest {
my $self = shift;
my $stat = $self->status;
my $file = $stat->ebuild_file;
unless (defined $file and -e $file) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPANPLUS/Backend.pm view on Meta::CPAN
author with C<CPANID> C<LOCAL>. You can use this id to search for all
added packages.
=cut
sub update_custom_source {
my $self = shift;
### if it mentions /remote/, the request is to update a single uri,
### not all the ones we have, so dispatch appropriately
my $rv = grep( /remote/i, @_)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CSS/Watcher.pm view on Meta::CPAN
parser_css => CSS::Watcher::Parser->new(),
parser_less => CSS::Watcher::ParserLess->new(),
}, $class);
}
sub update {
my $self = shift;
my $obj = shift;
# check what is the monobj. file? dir?
if (-f $obj || -d $obj) {
view all matches for this distribution
view release on metacpan or search on metacpan
examples/Tkwic.perl view on Meta::CPAN
print STDERR "$p:$filename: Cannot open file\n";
}
return \@macros;
}
sub update_history_menu {
my ($self) = @_;
my ($menu, $history, $label);
$menu = $self->{history_menu};
$history = $self->{query_history};
examples/Tkwic.perl view on Meta::CPAN
}
$self->{field2_menu}->configure(-state => $state);
$self->{attr2_menu}->configure(-state => $state);
}
sub update_freq_dialog {
my ($self) = @_;
my ($freq_dialog, $attributes, $default_attribute, $attribute);
$attributes = $self->{positional_attributes};
$default_attribute = $attributes->[0];
examples/Tkwic.perl view on Meta::CPAN
$self->set_frequency_type(0);
return $dialog;
}
sub update_tag_dialog {
my ($self) = @_;
my ($tag_dialog, $corpus, $hlist, $n, @tags, $id, $freq);
$corpus = $self->{corpus};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Cache/CacheSizer.pm view on Meta::CPAN
$self->set_max_size( $p_max_size );
return $self;
}
sub update_access_time
{
my ( $self, $p_key ) = @_;
Assert_Defined( $p_key );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Cache/Elasticache/Memcache.pm view on Meta::CPAN
This method will update the server list regardles of how much time has passed since the server list was last checked.
=cut
sub updateServers {
my $self = shift;
my $servers = $self->getServersFromEndpoint($self->{'config_endpoint'});
## Cache::Memcached::Fast does not support updating the server list after creation
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Cache/File.pm view on Meta::CPAN
$useheap->add($time, $key);
$self->set_index_entries($key, { age => $time, lastuse => $time });
}
sub update_last_use {
my Cache::File $self = shift;
my ($key, $time) = @_;
my $index_entries = $self->get_index_entries($key)
or warnings::warnif('Cache', "missing index entry for $key");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CallBackery/Database.pm view on Meta::CPAN
Insert the given data into the table. If a match map is given, try an update first
with the given match only insert when update has 0 hits.
=cut
sub updateOrInsertData {
my $self = shift;
my $table = shift;
my $data = shift;
my $match = shift;
my $db = $self->mojoSqlDb;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Carmel/App.pm view on Meta::CPAN
print "---> Checking updates...\n";
$self->update_or_install($snapshot, @args);
}
sub update_or_install {
my($self, $snapshot, @args) = @_;
my $builder = $self->builder;
my $requirements = $self->requirements;
lib/Carmel/App.pm view on Meta::CPAN
print "---> Installing modules...\n";
$self->update_or_install($snapshot);
}
}
sub update_dependencies {
my($self, $root_reqs, $snapshot) = @_;
my @artifacts = $self->install($root_reqs, $snapshot);
$self->dump_bootstrap(\@artifacts);
$self->save_snapshot(\@artifacts);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Carrot/Continuity/Coordination/Episode/Paragraph/TCP_Socket_IO/Buffer/Output.pm view on Meta::CPAN
$this->[ATR_SIZE] += $l;
return($this->update);
}
sub update
# /type method
# /effect ""
# //parameters
# //returns
# Mica::Projection::Flow_Control
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Carton/Builder.pm view on Meta::CPAN
}
return @options;
}
sub update {
my($self, $path, @modules) = @_;
$self->run_install(
"-L", $path,
(map { ("--mirror", $_->url) } $self->effective_mirrors),
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalog/db.pm view on Meta::CPAN
sub connect { shift->instance()->connect(@_); }
sub logoff { shift->instance()->logoff(@_); }
sub insert { shift->instance()->insert(@_); }
sub dict_update { shift->instance()->dict_update(@_); }
sub mdelete { shift->instance()->mdelete(@_); }
sub update { shift->instance()->update(@_); }
sub tables { shift->instance()->tables(@_); }
sub table_exists { shift->instance()->table_exists(@_); }
sub databases { shift->instance()->databases(@_); }
sub exec_info { shift->instance()->exec_info(@_); }
sub exec { shift->instance()->exec(@_); }
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/ActionRole/MatchRequestMethod.pm view on Meta::CPAN
__PACKAGE__->config(
action_roles => ['MatchRequestMethod'],
);
sub get_foo : Path Method('GET') { ... }
sub update_foo : Path Method('POST') { ... }
sub create_foo : Path Method('PUT') { ... }
sub delete_foo : Path Method('DELETE') { ... }
sub foo : Path Method('GET') Method('POST') { ... }
=head1 DESCRIPTION
view all matches for this distribution