view release on metacpan or search on metacpan
lib/Linux/LVM2.pm view on Meta::CPAN
# no lv found
return;
}
sub update {
my $self = shift;
$self->_find_vgs( $self->vgs() );
return 1;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Linux/Smaps.pm view on Meta::CPAN
return $I;
}
my ($cnt1, $fmt1)=(0);
sub update {
my ($I)=@_;
my $name;
# this way one can use one object to loop through a list of processes like:
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Liquibase/Git.pm view on Meta::CPAN
run_command(cmd => $self->liquibase_command_stem." update");
run_command(cmd => 'echo PASSED');
}
sub update {
my $self = shift;
$self->retrieve_changeset_from_git;
chdir $self->temp_dir;
$self->dryrun;
$self->wetrun;
}
sub updateSQL {
my $self = shift;
$self->retrieve_changeset_from_git;
chdir $self->temp_dir;
$self->dryrun;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/List/PriorityQueue.pm view on Meta::CPAN
$lower = 0;
}
$self->unchecked_insert($payload, $new_prio, $lower, $upper);
}
sub update {
my ($self, $payload, $prio) = @_;
if (!defined($self->{prios}->{$payload})) {
goto &unchecked_insert;
} else {
goto &unchecked_update;
view all matches for this distribution
view release on metacpan or search on metacpan
t/07_fixed_width.t view on Meta::CPAN
is_deeply( [ @lines ], [ @expected ],
"Got expected output after updating fixed-width records");
sub update_record {
my $record = shift;
my $template = 'A5A18A8A6AA8';
my @rec = unpack($template, $record);
$rec[0] =~ s/^0+//;
my ($acctno, %values, $result);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Lithium/WebDriver.pm view on Meta::CPAN
}
}
return $self->{window_list};
}
sub update_windows
{
my ($self) = @_;
$self->_window_id_list();
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/LittleORM/Filter/Update.pm view on Meta::CPAN
package LittleORM::Filter;
# update related subs moved here to keep module file size from growing
# too much
sub update
{
my $self = shift;
assert( scalar @{ $self -> joined_tables() } == 0,
'update is not defined for filter with joined tables' );
view all matches for this distribution
view release on metacpan or search on metacpan
internal/deprecate_codes view on Meta::CPAN
############################################################################
# UPDATE_MODULE
############################################################################
sub update_retired {
my($type) = @_;
my $module = $mod_list{$type};
foreach my $codeset (keys %{ $ALL_CODESETS{$type}{'codesets'} }) {
foreach my $code (keys %{ $prev{$type}{$codeset}{'code'} }) {
view all matches for this distribution
view release on metacpan or search on metacpan
} elsif ($frame eq 'manage_set') {
manage_set_pack($err);
}
}
sub update_window {
my $geometry;
$geometry .= "$data{x}$data{y}";
$main_window->geometry($geometry);
$main_window->update;
$main_window->deiconify;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Log/Any/Progress.pm view on Meta::CPAN
emitted with summary statistics, and subsequent calls to C<update>
will have no effect.
=cut
sub update
{
my ($self, $current_iteration) = @_;
if (defined $current_iteration) {
$self->{_current_iteration} = $current_iteration;
view all matches for this distribution
view release on metacpan or search on metacpan
CPAN/MakeMaker.pm view on Meta::CPAN
Please pass a VERSION parameter to the WriteMakefile function in Makefile.PL.
END
return $VERSION;
}
sub update_manifest {
my ($manifest, $manifest_path, $relative_path) = read_manifest();
my $manifest_changed = 0;
my %manifest;
for (@$manifest) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Log/Report/Lexicon/POT.pm view on Meta::CPAN
$header->msgstr(0, $text);
$content;
}
sub updated(;$)
{ my $self = shift;
my $date = shift || _now;
$self->header('PO-Revision-Date', $date);
$date;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Log/Report/Domain.pm view on Meta::CPAN
$self->{LRD_ctxt_def} = $cr->needDecode(set => @_);
}
sub updateContext(@)
{ my $self = shift;
my $cr = $self->contextRules # ignore context if no rules given
or return;
my $rules = $cr->needDecode(update => @_);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Log/Saftpresse/Slurp.pm view on Meta::CPAN
default => 'Log::Saftpresse::Input::',
);
has 'io_select' => ( is => 'rw', isa => 'Maybe[IO::Select]' );
sub update_io_select {
my $self = shift;
my $s = IO::Select->new;
foreach my $plugin ( @{$self->plugins} ) {
$s->add( $plugin->io_handles );
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Log/Syslog/Fast/PP.pm view on Meta::CPAN
eval { $self->set_receiver($proto, $hostname, $port) };
die "Error in ->new: $@" if $@;
return $self;
}
sub update_prefix {
my $self = shift;
my $t = shift;
$self->[LAST_TIME] = $t;
view all matches for this distribution
view release on metacpan or search on metacpan
$self->unlock();
}
$self->update_history($msg);
}
sub update_history{
my($self,$msg)=@_;
push @HISTORY,$msg;
}
sub retrieve_history{
view all matches for this distribution
view release on metacpan or search on metacpan
lib/LucyX/Simple.pm view on Meta::CPAN
Exception::Simple->throw('no document') if ( !$document );
$self->_indexer->add_doc( $document );
}
sub update_or_create{
my ( $self, $document, $pk ) = @_;
Exception::Simple->throw('no document') if !$document;
$pk ||= 'id';
my $pv = $document->{ $pk };
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Lufs/Svn.pm view on Meta::CPAN
sub release {
my $self = shift;
$self->commit($_[0]);
}
sub update {
my $self = shift;
$self->{svn}->update(@_);
}
sub checkout {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MARC/BBMARC.pm view on Meta::CPAN
Prompts for updated record file.
Prints running count of records based on counting_print function. Works only with USMARC input files.
=cut
sub updated_record_array {
use MARC::File::USMARC;
my @updatedrecarray;
####################################
# To do: test abstracted input file call ##
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MARC/Field.pm view on Meta::CPAN
Returns the number of items modified.
=cut
sub update {
my $self = shift;
## tags 000 - 009 don't have indicators or subfields
if ( $self->is_control_field ) {
$self->{_data} = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MARC/Transform.pm view on Meta::CPAN
}
}
return $outLUT;
}
sub update {
my ($field,$subfields)=@_;
transform ("update",$field,$subfields);
return 1;
}
sub forceupdate {
my ($field,$subfields)=@_;
transform ("forceupdate",$field,$subfields);
return 1;
}
sub updatefirst {
my ($field,$subfields)=@_;
transform ("updatefirst",$field,$subfields);
return 1;
}
sub forceupdatefirst {
view all matches for this distribution
view release on metacpan or search on metacpan
# untouched unless a new field needs to be created, in which case they
# are left blank.
####################################################################
sub updatefirst { # rec
my $marc = shift || return;
my $template = shift;
return unless (ref($template) eq "HASH");
return unless (@_);
return if (defined $template->{'value'});
view all matches for this distribution
view release on metacpan or search on metacpan
examples/tk_disp_reg.pl view on Meta::CPAN
print "unable to open TCP socket.\n";
exit(1);
}
# sub to update modbus_val (call by a tk timer)
sub update_modbus() {
my $words = $m->read_holding_registers(0, 1);
$modbus_val = $words->[0]."\n";
}
# init Tk
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MDK/Common/System.pm view on Meta::CPAN
}
}
%h;
}
sub update_gnomekderc {
my ($file, $category, %subst_) = @_;
my %subst = map { lc($_) => [ $_, $subst_{$_} ] } keys %subst_;
my $s;
view all matches for this distribution
view release on metacpan or search on metacpan
contrib/mhastart.pl view on Meta::CPAN
}
}
##---------------------------------------------------------------------------
sub updatembox {
my $msgref = shift;
open FILE, ">> $mbox" or die "Couldn't open $mbox\n$!";
flock FILE, 2;
print FILE ($pop3 ? join '', @$msgref : $$msgref), "\n\n";
close FILE;
}
sub updatearchive {
@ARGV = (@_, '-outdir', $archive);
push @ARGV, $mbox unless $in{routine} eq 'remove';
require 'mhamain.pl' or die "Couldn't require mhamain.pl\n$!";
mhonarc::initialize(); # skipped the 'mhonarc' program file in
mhonarc::process_input(); # order to avoid the ending exit call
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$examples =~ s/\r\n/\n/g;
update_file( $example_file, $examples );
};
};
sub update_file {
my( $filename, $new_content ) = @_;
my $content;
if( -f $filename ) {
open my $fh, '<:raw:encoding(UTF-8)', $filename
or die "Couldn't read '$filename': $!";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MOBY/Adaptor/moby/DataAdapterI.pm view on Meta::CPAN
Function : update an Object in mobycentral
Args :
Returns : 1 if the update was successful
0 otherwise
=cut
sub update{
die "update not implemented in the DataAdapterI Interface file.\n";
}
=head2 query
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MOSES/MOBY/Cache/Central.pm view on Meta::CPAN
* There is a SOAP error calling the registry
* There were read/write errors on the cache directory or its contents
=cut
sub update_datatype_cache {
my ($self) = @_;
my %old_datatypes = ();
my %new_datatypes = ();
my @changed_datatypes = ();
view all matches for this distribution