view release on metacpan or search on metacpan
lib/App/GitGerrit.pm view on Meta::CPAN
}
# The update_branch routine receives a local $branch name and updates
# it with the homonym branch in the Gerrit remote.
sub update_branch {
my ($branch) = @_;
my $remote = config('remote');
cmd "git fetch $remote $branch:$branch";
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GitHooks/CommitMessage.pm view on Meta::CPAN
my $success = $commit_message->update_message( $new_message );
=cut
sub update_message
{
my ( $self, $message ) = @_;
# Update the message.
$self->{'message'} = $message;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GitHub/update.pm view on Meta::CPAN
use Config::Identity::GitHub;
use LWP::UserAgent;
use Getopt::Long qw/ GetOptions /;
my $agent = LWP::UserAgent->new;
sub update {
my $self = shift;
my %given = @_;
my ( $login, $token, $repository, $description, $homepage );
( $repository, $description, $homepage ) = @given{qw/ repository description homepage /};
view all matches for this distribution
view release on metacpan or search on metacpan
bin/gitc-submit view on Meta::CPAN
close $fh;
return;
}
sub update_email_headers {
my ( $tmpdir, $cover_letter ) = @_;
return if $cover_letter !~ m/0000-cover-letter/;
require Email::Simple;
# find headers we want to set
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Glacier/Directory.pm view on Meta::CPAN
sub last_sync_time {
my ($self) = @_;
return $self->info('SyncTimeStamp');
}
sub update_sync_time {
my ($self) = @_;
$self->set_info('SyncTimeStamp', time);
}
sub foreach {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Greple/update.pm view on Meta::CPAN
sub debug {
$debug = 1;
}
sub update_initialize {
@update_diffcmd = shellwords $opt_update_diffcmd;
if ($opt_U ne '') {
@update_diffcmd = ('diff', "-U$opt_U");
}
if (defined $opt_backup) {
$opt_suffix = $opt_backup ne '' ? $opt_backup : '.bak';
}
}
sub update_begin {
my %arg = @_;
$current_file = delete $arg{&FILELABEL} or die;
$contents = $_ if $remember_data;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Greple/wordle/game.pm view on Meta::CPAN
sub solved {
my $obj = shift;
any { lc eq lc $obj->{answer} } @{$obj->{attempts}};
}
sub update {
my $obj = shift;
my $answer = $obj->answer;
my %a = map { $_ => 1 } my @a = $answer =~ /./g;
my $keys = $obj->map;
for my $try (@_) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Greple/xlate/Cache.pm view on Meta::CPAN
$obj->{saved} = {};
}
$obj;
}
sub update {
my $obj = shift;
my $file = $obj->name || return;
if (not $obj->force_update and $obj->updated == 0) {
if (%{$obj->saved} == 0) {
return;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Guiio.pm view on Meta::CPAN
return($self->{FONT_FAMILY}, $self->{FONT_SIZE}) ;
}
#-----------------------------------------------------------------------------
sub update_display
{
my ($self) = @_;
my $widget = $self->{widget} ;
$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/I18N.pm view on Meta::CPAN
$logger->info("Extracting messages from '$file'");
$lme->extract_file($file);
}
}
sub update_catalog {
my ( $self, $translation , $cmd ) = @_;
$cmd ||= {};
my $logger = $self->logger;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/LXC/Container.pm view on Meta::CPAN
=cut
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
sub update(@)
{
defined $ENV{ALC_DEBUG} and $ENV{ALC_DEBUG} =~ m/^[0-9]+$/ and
debug($ENV{ALC_DEBUG});
my $container = App::LXC::Container::Update->new(@_);
$container->main();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MPDJ.pm view on Meta::CPAN
$self->{last_call} = $now - $now % $self->config->get('calls-freq');
$self->log->notice("Set last call to $self->{last_call}");
}
}
sub update_cache {
my ($self) = @_;
$self->log->notice('Updating music and calls cache...');
foreach my $category (('music', 'calls')) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/ManagePoolStyleRepo.pm view on Meta::CPAN
},
features => {
#dry_run => 1,
},
};
sub update_index {
require File::Path;
require File::Temp;
my %args = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MatrixClient/RoomTab.pm view on Meta::CPAN
$self->{room}->typing_start;
$timer->start;
}
}
sub update_headline
{
my $self = shift;
my $room = $self->{room};
$self->{headline}->set_text( $room->topic // "" );
}
sub update_member_presence
{
my $self = shift;
my ( $member ) = @_;
return; # TODO
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ChordPro/Wx/Utils.pm view on Meta::CPAN
push( @EXPORT, qw( M_MAIN M_EDITOR M_SONGBOOK ) );
my @swingers;
sub update_menubar( $self, $sel ) {
die unless @swingers;
for ( @swingers ) {
my ( $mi, $mask ) = @$_;
$mi->Enable( $mask & $sel );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Netdisco/Util/PortAccessEntity.pm view on Meta::CPAN
Helper subroutines to update PAE details in device_port_properties
These are updated both during discover and macsuck.
=cut
sub update_pae_attributes {
my ($device) = @_;
no warnings "uninitialized";
my $snmp = App::Netdisco::Transport::SNMP->reader_for($device)
or return Status->defer("pae failed: could not SNMP connect to $device");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Netsync.pm view on Meta::CPAN
| ... | =============
--------------------------------------------------------- (device)
=cut
sub update {
warn 'too few arguments' if @_ < 1;
warn 'too many arguments' if @_ > 1;
my ($nodes) = @_;
unless ($config{'Quiet'}) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Office/CMS/Controller/Content.pm view on Meta::CPAN
} # End of process_content_form.
# -----------------------------------------------
sub update
{
my($self) = @_;
$self -> log(debug => 'update()');
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Office/Contacts/Controller/Exporter/Note.pm view on Meta::CPAN
} # End of get_notes.
# -----------------------------------------------
sub update
{
my($self) = @_;
$self -> param('db') -> simple -> begin_work;
$self -> add_header('-Status' => 200, '-Content-Type' => 'text/xml; charset=utf-8');
view all matches for this distribution
view release on metacpan or search on metacpan
$self-> invalidate_rect( $self-> point2screen( $x1, $y1, $x2, $y2));
}
$w-> update_state;
}
sub update_state
{
my $w = $_[0];
my $cp = $w-> ToolBar-> CellsProcesses;
if ( !defined $w-> {file})
{
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/PM/Announce/History.pm view on Meta::CPAN
die "Couldn't fetch $uuid" unless $result;
return $result;
}
sub update {
my $self = shift;
my $uuid = shift;
my %data = @_;
my $db = $self->db;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/PMUtils.pm view on Meta::CPAN
},
deps => {
prog => 'cpanm',
},
};
sub update_this_mod {
require App::ThisDist;
require IPC::System::Options;
my %args = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Padadoy.pm view on Meta::CPAN
run('carton exec -Ilib -- make test');
run('carton exec -Ilib -- make clean > /dev/null');
}
sub update {
my $self = shift;
my $revision = shift || 'master';
$self->msg("updating to revision $revision");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/PerlTidy/Tk.pm view on Meta::CPAN
$self->run_tidy;
}
}
sub update_config {
my ($self) = @_;
#my $name = 'indent-columns';
#$self->{config}{$name} = $self->{widgets}{$name}->get;
}
view all matches for this distribution
view release on metacpan or search on metacpan
script/phoebe-ctl view on Meta::CPAN
$subcommand->(@ARGV);
exit;
sub update_changes {
my %pages;
my $now = time;
$pages{decode_utf8($_)} = modified("$dir/page/$_.gmi") for map { s/\.gmi$//; $_ } grep /\.gmi$/, read_dir("$dir/page");
say "Read " . scalar(keys %pages) . " pages" if $log >= 3;
say join("\n", map { $_ . "\t" . $pages{$_} } sort keys %pages) if $log >= 4;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/PhotoDB/funcs.pm view on Meta::CPAN
The number of rows updated
=cut
sub updaterecord {
# Pass in a hashref of arguments
my $href = shift;
# Unpack the hashref and set default values
my $db = $href->{db}; # DB handle
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Plog.pm view on Meta::CPAN
return ;
}
#-------------------------------------------------------------------------------
sub update_blog ## no critic (Subroutines::ProhibitManyArgs)
{
=head2 update_blog(...)
Generates the blog and runs the update script defined in I<$blog_configuration->{update_script}>. The update
view all matches for this distribution