view release on metacpan or search on metacpan
lib/Apache2/WebApp/Plugin/Session/MySQL.pm view on Meta::CPAN
# update( \%controller, $arg, \%data );
#
# Takes the cookie unique identifier or session id as arguments. Updates
# existing session data.
sub update {
my ( $self, $c, $arg, $data_ref )
= validate_pos( @_,
{ type => OBJECT },
{ type => HASHREF },
{ type => SCALAR },
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ApacheLog/Compressor.pm view on Meta::CPAN
Refresh the mapping from format keys and internal definitions.
=cut
sub update_mapping {
my $self = shift;
my %fmt = @{ $self->{format} };
$self->{format_hash} = \%fmt;
$self->{packet_handler} = {
0x00 => 'log',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apertur/SDK/Resource/Destinations.pm view on Meta::CPAN
'POST', "/api/v1/projects/$project_id/destinations",
body => encode_json(\%config),
);
}
sub update {
my ($self, $project_id, $dest_id, %config) = @_;
return $self->{http}->request(
'PATCH', "/api/v1/projects/$project_id/destinations/$dest_id",
body => encode_json(\%config),
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apigee/Edge.pm view on Meta::CPAN
sub set_developer_status {
my ($self, $email, $status);
return $self->request('GET', "/o/" . $self->{org} . "/developers/" . uri_escape($email) . "?action=" . uri_escape($status));
}
sub update_developer { ## no critic (ArgUnpacking)
my $self = shift;
my $email = shift;
my %args = @_ % 2 ? %{$_[0]} : @_;
$email or croak "email is required.";
return $self->request('PUT', "/o/" . $self->{org} . "/developers/" . uri_escape($email), %args);
lib/Apigee/Edge.pm view on Meta::CPAN
my $url = Mojo::URL->new("/o/" . $self->{org} . "/developers/" . uri_escape($email) . "/apps");
$url->query(\%args) if %args;
return $self->request('GET', $url->to_string);
}
sub update_developer_app { ## no critic (ArgUnpacking)
my $self = shift;
my $email = shift;
my $app = shift;
my %args = @_ % 2 ? %{$_[0]} : @_;
$email or croak "email is required.";
lib/Apigee/Edge.pm view on Meta::CPAN
my $self = shift;
my %args = @_ % 2 ? %{$_[0]} : @_;
return $self->request('POST', "/o/" . $self->{org} . "/apiproducts", %args);
}
sub update_api_product { ## no critic (ArgUnpacking)
my $self = shift;
my $product = shift;
my %args = @_ % 2 ? %{$_[0]} : @_;
$product or croak "product is required.";
return $self->request('PUT', "/o/" . $self->{org} . "/apiproducts/" . uri_escape($product), %args);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Alice/IRC.pm view on Meta::CPAN
return "real: $info->{real}\nuser: $info->{user}\n" .
"host: $info->{IP}\nserver: $info->{server}\nchannels: " .
join " ", keys %{$info->{channels}};
}
sub update_realname {
my ($self, $realname) = @_;
my $nick = $self->nick_cached;
$self->send_srv(REALNAME => $realname);
if (my $info = $self->get_nick_info($nick)) {
$info->{real} = $realname;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/AltSQL/Model/MySQL.pm view on Meta::CPAN
}
$self->update_db_types();
}
sub update_autocomplete_entries {
my ($self, $database) = @_;
return if $self->no_auto_rehash;
my $cache_key = 'autocomplete_' . $database;
if (! $self->{_cache}{$cache_key}) {
lib/App/AltSQL/Model/MySQL.pm view on Meta::CPAN
}
return $sth;
}
sub update_db_types {
my $self = shift;
## Collect type info from the handle
my %types;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/ArchiveDevelCover.pm view on Meta::CPAN
}
say "archived coverage reports at $target_string";
}
sub update_index {
my $self = shift;
my $te = HTML::TableExtract->new( headers => [qw(stm sub total)] );
$te->parse(scalar $self->coverage_html->slurp);
my $rows =$te->rows;
lib/App/ArchiveDevelCover.pm view on Meta::CPAN
$self->update_archive_html($last_row);
$self->update_archive_db($last_row);
}
sub update_archive_html {
my ($self, $last_row) = @_;
my $prev_stats = $self->previous_stats;
my $runtime = $self->runtime;
my $date = $runtime->ymd('-').' '.$runtime->hms;
lib/App/ArchiveDevelCover.pm view on Meta::CPAN
unless (-e $self->to->file('cover.css')) {
copy($self->from->file('cover.css'),$self->to->file('cover.css')) || warn "Cannot copy cover.css: $!";
}
}
sub update_archive_db {
my ($self, $last_row) = @_;
my $dbw = $self->archive_db->open(">>") || warn "Can't write archive.db: $!";
say $dbw join(';',$self->runtime->iso8601,@$last_row);
close $dbw;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Asciio.pm view on Meta::CPAN
return($self->{FONT_FAMILY}, $self->{FONT_SIZE}) ;
}
#-----------------------------------------------------------------------------
sub update_display
{
my ($self) = @_;
$self->call_hook('CANONIZE_CONNECTIONS', $self->{CONNECTIONS}, $self->get_character_size()) ;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/AutoCRUD/Controller/Table.pm view on Meta::CPAN
return $data;
}
}
sub update {
my ($self, $table) = @_;
$self->_check_canmodify;
if ($self->context->req->method eq 'POST') {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/BCVI/InstallManager.pm view on Meta::CPAN
our $VERSION = '1.03';
my($source_signature, %sig_db, $db_file);
sub update_all_installs {
my($self) = @_;
if(my $arg = $self->opt('update-all')) { # usual value '' is false
if($arg eq 'list') {
return $self->list_all_installs
view all matches for this distribution
view release on metacpan or search on metacpan
$self->update_existing_aliases($bcvi_commands)
or $self->aliases_initial_install($bcvi_commands);
}
sub update_existing_aliases {
my($self, $bcvi_commands) = @_;
foreach my $file ( $self->candidate_rc_files() ) {
my($script) = $self->read_file($file) or next;
if(index($script, $bcvi_commands) > -1) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/BarnesNoble/WishListMinder.pm view on Meta::CPAN
$have_cookie;
} # end have_user_cookie
#---------------------------------------------------------------------
sub update_wishlists
{
my $self = shift;
my $config = $self->config;
my $m = $self->mech;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/BookmarkFeed.pm view on Meta::CPAN
}
}
return $item
}
sub update ($db, @items) {
for my $item (@items) {
if ($db->query('select 1 from items where url = ?', $item->{url})->hash) {
delete $item->{date};
$db->update('items', $item, {url => $item->{url}});
} else {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/CISetup/Role/ConfigFile.pm view on Meta::CPAN
$self->file->spew( $self->_config_to_yaml( $self->_create_config ) );
return;
}
sub update_file {
my $self = shift;
my $file = $self->file;
my $orig = $file->slurp;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/CamelPKI/SysV/Apache.pm view on Meta::CPAN
download updated CRLs on a regular basis and submit them using
I<update_crl()>.
=cut
sub update_crl { "UNIMPLEMENTED" }
=head2 start(%opts)
Starts the daemon synchronously, meaning that I<start> will only
return control to its caller after ensuring that the Apache process
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Chart/Annotation.pm view on Meta::CPAN
sub draw {
my ($self, $graph, $region) = @_;
App::Chart::Gtk2::Graph::Plugin::Alerts->draw ($graph, $region, [ $self ]);
}
sub update_alert {
my ($symbol) = @_;
require App::Chart::Gtk2::Symlist::Alerts;
my $symlist = App::Chart::Gtk2::Symlist::Alerts->instance;
if (want_alert ($symbol)) {
$symlist->insert_symbol ($symbol);
view all matches for this distribution
view release on metacpan or search on metacpan
bin/chronicle view on Meta::CPAN
=end doc
=cut
sub updateDatabase
{
my ($dbh) = (@_);
#
# Assume each entry is already present in the database.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/ClusterSSH.pm view on Meta::CPAN
);
$self->config->{show_history} = 1;
}
}
sub update_display_text($) {
my ( $self, $char ) = @_;
return if ( !$self->config->{show_history} );
$self->debug( 2, "Dropping :$char: into display" );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Codit/Plugins/Colors.pm view on Meta::CPAN
# $self->extGet('ToolPanel')->deletePage('Colors');
$self->ToolRightPageRemove('Colors');
return $self->SUPER::Unload
}
sub updateEntry {
my ($self, $value) = @_;
$value = $self->_ent->get unless defined $value;
my $pick = $self->_pick;
if ($self->_pick->validate($value)) {
$self->_ind($pick->getHEX);
lib/App/Codit/Plugins/Colors.pm view on Meta::CPAN
$self->_ind($self->configGet('-background'));
$self->_ent->configure(-foreground => $self->configGet('-errorcolor'));
}
}
sub updatePicker {
my ($self, $value) = @_;
$self->_ent($value);
$self->_ind($self->_pick->getHEX);
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Config/Chronicle.pm view on Meta::CPAN
Loads latest values from data chronicle into local cache.
Calls to this method are rate-limited by C<refresh_interval>.
=cut
sub update_cache {
my $self = shift;
die 'Local caching not enabled' unless $self->local_caching;
return unless $self->_has_refresh_interval_passed();
$self->_updated_at(Time::HiRes::time());
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Context.pm view on Meta::CPAN
}
&App::sub_exit() if ($App::trace);
}
sub update_profiler_log {
&App::sub_entry if ($App::trace);
my ($self, $app_scope, $content_name, $app_scope_id_type, $app_scope_id) = @_;
my $options = $self->{options};
my $repname = $options->{"app.Context.profiler_repository"};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/DDNS/Namecheap.pm view on Meta::CPAN
has domain => ( is => 'ro', isa => 'Str', required => 1 );
has password => ( is => 'ro', isa => 'Str', required => 1 );
has hosts => ( is => 'ro', isa => 'ArrayRef', required => 1 );
has ip => ( is => 'ro', isa => 'Str', required => 0 );
sub update {
my $self = shift;
foreach ( @{ $self->{hosts} } ) {
my $url = "https://dynamicdns.park-your-domain.com/update?domain=$self->{domain}&password=$self->{password}&host=$_";
$url .= "&ip=$self->{ip}" if $self->{ip};
if ( my $return = get($url) ) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Dest.pm view on Meta::CPAN
}
return 0;
}
sub update {
my $self = _new(shift);
my ( $dry_run, @incs ) = _dry_check(@_);
my $seen_action = {};
my $execute_stack;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/DocKnot/Spin/Versions.pm view on Meta::CPAN
# $package - Name of the package
# $version - New version
# $timestamp - New release date as seconds since epoch
#
# Throws: Text exception on failure
sub update_version {
my ($self, $package, $version, $timestamp) = @_;
my $date = strftime('%Y-%m-%d', localtime($timestamp));
my $time = strftime('%H:%M:%S', localtime($timestamp));
# Edits the line for the package to replace the version and release date.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Dochazka/REST/Model/Activity.pm view on Meta::CPAN
object's attributes with the values actually written to the database.
Returns status object.
=cut
sub update {
my $self = shift;
my ( $context ) = validate_pos( @_, { type => HASHREF } );
return $CELL->status_err( 'DOCHAZKA_MALFORMED_400' ) unless $self->{'aid'};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/DrivePlayer/DB.pm view on Meta::CPAN
comment => _trunc($t{comment}, 'comment'),
});
}
}
sub update_track_metadata {
my ($self, $id, %fields) = @_;
my $row = $self->_rs('Track')->find($id) or return;
my %allowed = map { $_ => 1 }
qw( title artist album track_number year duration_ms genre comment );
my %update = map { $_ => $fields{$_} }
view all matches for this distribution
view release on metacpan or search on metacpan
bin/dual-lived view on Meta::CPAN
$print->bold_black( $mod->id );
}
}
}
sub update {
CPAN::Shell->install($d);
}
sub filestats {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/FQStat/Actions.pm view on Meta::CPAN
$::DisplayOffset = $limit if $::DisplayOffset > $limit;
$::DisplayOffset = 0 if $::DisplayOffset < 0;
}
sub update_user_name {
warnenter if ::DEBUG;
my $input = poll_user("User name: ");
lock($::User);
if (not defined $input or $input =~ /^\s*$/) {
$::User = undef;
lib/App/FQStat/Actions.pm view on Meta::CPAN
}
return 1;
}
sub update_highlighted_user_name {
warnenter if ::DEBUG;
my $input = poll_user("User name to highlight: ");
if (not defined $input or $input =~ /^\s*$/) {
$::HighlightUser = undef;
update_display(1);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/ECS.pm view on Meta::CPAN
]
);
}
########################################################################
sub update_service {
########################################################################
my ( $self, %args ) = @_;
my ( $cluster_name, $service_name, $task_definition, $force, $desired_count, $query )
= @args{qw(cluster_name service_name task_definition force desired_count query)};
view all matches for this distribution
view release on metacpan or search on metacpan
script/update-fatpack-snippets view on Meta::CPAN
pos => 0,
greedy => 1,
},
},
};
sub update_fatpack_snippets {
require File::Slurper;
require Module::FatPack;
my %args = @_;
view all matches for this distribution