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};
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;
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
view release on metacpan or search on metacpan
lib/Catalyst/ActionRole/Tabs.pm view on Meta::CPAN
$form->action($c->uri_for('update'));
...
}
# update action uses same tab as edit action
sub update : Local Does(Tabs) TabAlias(edit) {
...
if ($form->result->has_errors) {
$stash->{template} = 'edit.tt2';
}
else {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Controller/DBIC/API.pm view on Meta::CPAN
$self->each_object_inflate( $c, $c->req->get_object(0)->[0] );
}
}
sub update_or_create {
my ( $self, $c ) = @_;
if ( $c->req->has_objects ) {
$self->validate_objects($c);
$self->transact_objects( $c, sub { $self->save_objects( $c, @_ ) } );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Manual/Intro.pod view on Meta::CPAN
package MyApp::Controller::Cart;
use base qw/Catalyst::Controller/;
sub add : Local { }
sub update : Local { }
sub order : Local { }
Note that you can also supply attributes via the Controller's config so
long as you have at least one attribute on a subref to be exported
(:Action is commonly used for this) - for example the following is
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Model/LDAP/Entry.pm view on Meta::CPAN
return $self;
}
sub update {
my $self = shift;
my $client = shift || $self->_ldap_client;
croak 'No LDAP client provided to update' unless $client;
return $self->next::method( $client, @_ );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Model/Riak.pm view on Meta::CPAN
sub read {
my($self, $data) = @_;
return $self->get($data);
}
sub update {
my($self, $data) = @_;
if ( defined($data->{key}) ) {
my $object = $self->get({ key => $data->{key} });
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Model/Search.pm view on Meta::CPAN
Catalyst::Exception->throw(
message => ( ref $self || $self ) . ' does not implement add()'
);
}
sub update {
my $self = shift;
Catalyst::Exception->throw(
message => ( ref $self || $self ) . ' does not implement update()'
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Model/XML/Feed/Item.pm view on Meta::CPAN
sub uri {
my $self = shift;
return $self->{_uri};
}
sub updated {
my $self = shift;
return $self->{_updated};
}
1;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Plugin/AtomPP.pm view on Meta::CPAN
my ($self, $c) = @_;
...
}
sub update_entry : Remote {
...
}
sub delete_entry : Remote {
...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Plugin/Authentication.pm view on Meta::CPAN
}
## this was a short lived method to update user information -
## you should use persist_user instead.
sub update_user_in_session {
my $c = shift;
return $c->persist_user;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Plugin/AutoCRUD/Controller/AJAX.pm view on Meta::CPAN
sub list : Chained('base') Args(0) {
my ($self, $c) = @_;
$c->forward($c->stash->{cpac}->{g}->{backend}, 'list');
}
sub update : Chained('base') Args(0) {
my ($self, $c) = @_;
$c->forward($c->stash->{cpac}->{g}->{backend}, 'update');
}
sub delete : Chained('base') Args(0) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Controller/CRUD.pm view on Meta::CPAN
$self->call_trigger( 'update_check', $c, $hash );
$self->call_trigger( 'update_after', $c, $model );
=cut
sub update {
my ( $this, $c, $self ) = @_;
# update already record
if ( $c->req->param('btn_update') ) {
my $model = $this->get_model( $c, $self, $c->req->param( $self->setting($c)->{primary} ) );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Plugin/Data/Pensieve.pm view on Meta::CPAN
foo => [ qw/ foo_id name bar baz / ],
},
},
);
sub update_data :Local :Args(3) {
my ($self, $c, $pk, $key, $value) = @_;
$c->pensieve->store_revisions(
some_kinda_data => $pk, {
$key => $value
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/Plugin/Form/Processor.pm view on Meta::CPAN
}
sub update_from_form {
my ( $c, @rest ) = @_;
my $form = $c->form( @rest ) || return;
return
view all matches for this distribution