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
view release on metacpan or search on metacpan
lib/App/Followme.pm view on Meta::CPAN
}
#----------------------------------------------------------------------
# Update files in one folder
sub update_folder {
my ($self, $directory, $configuration_files, %configuration) = @_;
my $configuration_file = shift(@$configuration_files) ||
catfile($directory, $self->{configuration_file});
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Framework/Lite.pm view on Meta::CPAN
Returns the hash of args/values
=cut
sub update
{
my $this = shift ;
$this->_dbg_prt(["Args: update()\n"]) ;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Framework/Feature/Args.pm view on Meta::CPAN
Returns the hash of args/values
=cut
sub update
{
my $this = shift ;
$this->_dbg_prt(["Args: update()\n"]) ;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GHGen/Fixer.pm view on Meta::CPAN
$workflow->{permissions} = { contents => 'read' };
return 1;
}
sub update_actions($workflow) {
my $jobs = $workflow->{jobs} or return 0;
my $modified = 0;
# Premise: %ACTION_UPDATES is the canonical version table (defined above).
# Conclusion: this function and find_outdated_actions (Analyzer) are always in sync.
lib/App/GHGen/Fixer.pm view on Meta::CPAN
}
return $modified;
}
sub update_runners($workflow) {
my $jobs = $workflow->{jobs} or return 0;
my $modified = 0;
my %runner_updates = (
'ubuntu-18.04' => 'ubuntu-latest',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GUI/Cellgraph/Frame.pm view on Meta::CPAN
$self->SetStatusText( "settings in init state", 0 );
$self->{'last_file_settings'} = $self->get_settings;
$self;
}
sub update_recent_settings_menu {
my ($self) = @_;
my $recent = $self->{'config'}->get_value('last_settings');
return unless ref $recent eq 'ARRAY';
my $set_menu_ID = 11300;
$self->{'setting_menu'}->Destroy( $set_menu_ID );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GUI/Harmonograph/Frame.pm view on Meta::CPAN
$self->{'btn'}{'draw'}->SetFocus;
$self->sketch;
$self;
}
sub update_recent_settings_menu {
my ($self) = @_;
my $recent = $self->{'config'}->get_value('last_settings');
return unless ref $recent eq 'ARRAY';
my $set_menu_ID = 11300;
$self->{'setting_menu'}->Destroy( $set_menu_ID );
lib/App/GUI/Harmonograph/Frame.pm view on Meta::CPAN
my ($self, $status) = @_;
$self->{'saved'} = $status;
$self->SetTitle( $self->{'title'} .($self->{'saved'} ? '': ' *'));
}
sub update_base_name {
my ($self) = @_;
my $file = $self->{'txt'}{'file_bname'}->GetValue;
$self->{'config'}->set_value('file_base_name', $file);
$self->{'config'}->set_value('file_base_counter', 1);
$self->inc_base_counter();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GUI/Juliagraph/Frame.pm view on Meta::CPAN
# $self->init();
$self->sketch();
$self;
}
sub update_recent_settings_menu {
my ($self) = @_;
my $recent = $self->{'config'}->get_value('last_settings');
return unless ref $recent eq 'ARRAY';
my $set_menu_ID = 11300;
$self->{'setting_menu'}->Destroy( $set_menu_ID );
view all matches for this distribution
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;
}
lib/App/Greple/update.pm view on Meta::CPAN
}
}
use List::Util qw(first);
sub update_diff {
my $orig = $current_file;
my $fh;
state $fdpath = do {
my $fd = DATA->fileno;
first { -r "$_/$fd" } qw( /dev/fd /proc/self/fd );
lib/App/Greple/update.pm view on Meta::CPAN
die "exec: $!\n";
}
my $divert_buffer;
sub update_divert {
my %arg = @_;
my $filename = delete $arg{&FILELABEL};
$divert_buffer = '';
divert_stdout(\$divert_buffer);
}
sub update_file {
my %arg = @_;
my $filename = delete $arg{&FILELABEL};
my $newname = '';
recover_stdout() or die;
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
push @out, [ $k, $v ] if defined $v;
}
@out;
}
sub update {
my $obj = shift;
return if $obj->readonly;
my $file = $obj->name || return;
if (not $obj->force_update and $obj->updated == 0) {
# accumulate: nothing changed, disk content is already right.
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;
lib/App/I18N.pm view on Meta::CPAN
$path = File::Spec->join( $podir, 'locale', $lang, 'LC_MESSAGES', $pot_name . ".po" );
}
return $path;
}
sub update_catalogs {
my ($self,$podir , $cmd ) = @_;
my @catalogs = grep !m{(^|/)(?:\.svn|\.git)/},
File::Find::Rule->file
->name('*.po')->in( $podir);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/InvestSim/GUI.pm view on Meta::CPAN
$root->g_wm_deiconify();
}
# Update the values displayed in the core value table.
my @computed_values; # The output of compute_all()
sub update_displayed_mode {
my $current_mode = $modes_combobox->m_current();
$modes_combobox->m_selection('clear');
my $format = $modes_format[$current_mode];
for my $i (0..NUM_LOAN_DURATION-1) {
for my $j (0..NUM_LOAN_AMOUNT-1) {
lib/App/InvestSim/GUI.pm view on Meta::CPAN
$display_table->m_delete($display_table->m_children(''));
}
# Update the values displayed in the by-year secondary table.
my (@last_update_to_table);
sub update_displayed_table {
# loan_duration, $loan_amount
my ($d, $a) = (@_, @last_update_to_table);
@last_update_to_table = (@_, @last_update_to_table);
return if @last_update_to_table == 0; # automatic call before any selection.
if ($values{automatic_duration} && $values{loan_durations}[$d] != $values{duration}) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Koyomi/DataSource/Job.pm view on Meta::CPAN
sub instance { croak 'Must implement in child class!'; }
sub gets { croak 'Must implement in child class!'; }
sub get_by_id { croak 'Must implement in child class!'; }
sub create { croak 'Must implement in child class!'; }
sub update_by_id { croak 'Must implement in child class!'; }
sub delete_by_id { croak 'Must implement in child class!'; }
1;
__END__
lib/App/Koyomi/DataSource/Job.pm view on Meta::CPAN
# Your implementation goes below
sub instance { ... }
sub gets { ... }
sub get_by_id { ... }
sub create { ... }
sub update_by_id { ... }
sub delete_by_id { ... }
=head1 DESCRIPTION
Abstract datasource class for koyomi job entity.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/LDAP/LDIF.pm view on Meta::CPAN
} else {
return undef;
}
}
sub update {
}
sub delete {
my ($self) = shift;
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