view release on metacpan or search on metacpan
lib/Firefox/Marionette.pm view on Meta::CPAN
$profile->save( $self->{profile_path} );
}
return;
}
sub update {
my ( $self, $update_timeout ) = @_;
my $timeouts = $self->timeouts();
my $script_timeout = $timeouts->script();
my $update_timeouts = Firefox::Marionette::Timeouts->new(
script => ( $update_timeout || _DEFAULT_UPDATE_TIMEOUT() ) *
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Firewall/Config/Connector.pm view on Meta::CPAN
$Data::dumper::Sortkeys = 1;
has dbi => ( is => 'ro', does => 'Firewall::DBI::Role', );
sub update {
my ( $self, %param ) = @_;
my ( $fwType, @process, $conf, %processForFw, $numOfProcesses, $fwIds );
my $fwInfo = $self->getFwInfo;
if ( @{$param{fwIds}} ) {
$fwIds = $param{fwIds};
lib/Firewall/Config/Connector.pm view on Meta::CPAN
while ( ( $exitPid = waitpid( -1, WNOHANG ) ) > 0 ) {
delete( $childPids{$exitPid} );
sleep(0.25);
}
}
} ## end sub update
sub saveconfig {
my ( $self, $param ) = @_;
my ( $fwId, $type, $conf ) = @{$param}{qw/fwId type conf/};
my $sonDbi = $self->dbi->clone;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Firewall/Config/Dao/Parser/Role.pm view on Meta::CPAN
}
#------------------------------------------------------------------------------
# updateNetwork æ½è±¡æ¹éæ´æ°å¤§ç½ãç§ç½æ¥å£
#------------------------------------------------------------------------------
sub updateNetwork {
my ( $self, $zones, @tables ) = @_;
# å¦æä¼ å
¥çéåå¸å¼ç¨åèªå¨ä¿®æ£
confess "ç½ç»åºåå¿
é¡»æ¯åå¸å¼ç¨" if not ref $zones eq 'HASH' || not defined $zones;
confess "å¿
é¡»æä¾è³å°ä¸ä¸ªè¡¨åæ°æ®" if scalar @tables == 0;
lib/Firewall/Config/Dao/Parser/Role.pm view on Meta::CPAN
}
#------------------------------------------------------------------------------
# updateStaticNatToNetwork æ½è±¡èªå¨ç»å® NAT ç½æ®µå°å¤§ç½æ°æ®è¡¨å
#------------------------------------------------------------------------------
sub updateStaticNatToNetwork {
my $self = shift;
# åå§ååé
my $params;
my $table = 'fw_network_main';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Firewall/Config/Initialize.pm view on Meta::CPAN
}
#------------------------------------------------------------------------------
# æ´æ°é²ç«å¢ç½æ®µä¿¡æ¯
#------------------------------------------------------------------------------
sub updateNetwork {
my ( $self, $fwId ) = @_;
my @tables = ( 'fw_network_main', 'fw_network_private' );
for my $table (@tables) {
my $sql = "select fw_id,zone,addr_range from $table where fw_id=$fwId";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Firewall/Controller/Ff.pm view on Meta::CPAN
}
#------------------------------------------------------------------------------
# updateNetwork æ´æ°ç½ç»ä¿¡æ¯ï¼å¿
é¡»æºå¸¦ fwId
#------------------------------------------------------------------------------
sub updateNetwork {
my $self = shift;
# åå§ååé
my $result;
view all matches for this distribution
view release on metacpan or search on metacpan
} ## end sub initFirewall
#------------------------------------------------------------------------------
# updateNetwork æ´æ°ç½ç»ä¿¡æ¯
#------------------------------------------------------------------------------
sub updateNetwork {
my $self = shift;
# æé result æ°æ®ç»æ
my $result = {
status => 'ok',
};
};
# è¿å计ç®ç»æ
$self->render( json => $result );
} ## end sub updateNetwork
1;
view all matches for this distribution
view release on metacpan or search on metacpan
doc/examples/petmarket/petmarket/api/cartservice.pm view on Meta::CPAN
my $result = $self->getCartTotal($cartid);
$result->{"itemoid"} = $itemid;
return $result;
}
sub updateCartItem
{
my ($self, $cartid, $itemid, $quantity) = @_;
$self->deleteCartItem($cartid, $itemid);
return $self->addCartItem($cartid, $itemid, $quantity);
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FlatFile/DataStore.pm view on Meta::CPAN
Returns a Flatfile::DataStore::Record object.
=cut
sub update {
my $self = shift;
my( $data_ref, $user_data, $pr_obj ) = $self->normalize_parms( @_ );
croak qq/Must have at least a previous preamble for update/
unless $pr_obj;
lib/FlatFile/DataStore.pm view on Meta::CPAN
# Private method.
#
# =cut
#
sub update_preamble {
my( $self, $preamble, $parms ) = @_;
my $omap = $self->specs;
for( keys %$parms ) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Flower/Files.pm view on Meta::CPAN
return $_ if ( $_->filename eq $filename );
}
return;
}
sub update_all_in_path {
my $self = shift;
my $path = shift;
# first nuke any files that have disappeared or can no
# longer be read
lib/Flower/Files.pm view on Meta::CPAN
$path
);
return;
}
sub update_files_from_arrayref {
my $self = shift;
my $ref = shift;
my @new_files;
foreach (@$ref) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Font/TTF/Cmap.pm view on Meta::CPAN
Removes from all cmaps any codepoint that map to GID=0. Note that such entries will
be re-introduced as necessary depending on the cmap format.
=cut
sub update
{
my ($self) = @_;
my ($max, $code, $gid, @keep);
return undef unless ($self->SUPER::update);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Foorum/ResultSet/Forum.pm view on Meta::CPAN
my $forum_url = '/forum/' . $forum->{forum_code};
return $forum_url;
}
sub update_forum {
my ( $self, $forum_id, $update ) = @_;
my $schema = $self->result_source->schema;
my $cache = $schema->cache();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Footprintless/Plugin/Atlassian/Confluence/RequestBuilder.pm view on Meta::CPAN
$self->{base_url} = $base_url;
return $self;
}
sub update_content {
my ( $self, $id, $content, %options ) = @_;
return HTTP::Request->new(
'PUT',
$self->_url( "/rest/api/content/$id", %options ),
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Footprintless/Plugin/Ldap/Ldap.pm view on Meta::CPAN
$message->code() && croak( $message->error() );
return $self;
}
sub update {
my ( $self, $entry ) = @_;
croak('not connected') unless ( $self->{connection} );
$logger->tracef( 'updating %s', $entry->dn() );
my $message = $entry->update( $self->{connection} );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Footprintless/Overlay.pm view on Meta::CPAN
$resource_manager->download( $spec->{resources}{$resource}, to => $destination );
}
}
}
sub update {
my ( $self, %options ) = @_;
if ( $options{to_dir} ) {
$self->_dirs_template(
$options{to_dir},
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Form/Processor/Model/CDBI.pm view on Meta::CPAN
}
sub update_model {
my ( $self ) = @_;
# Grab either the item or the object class.
my $item = $self->item;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Form/Processor/Model/DBIC.pm view on Meta::CPAN
Returns false if form does not validate, otherwise returns 1. Very likely dies on database errors.
=cut
sub update_from_form {
my ( $self, $params ) = @_;
return unless $self->validate($params);
$self->schema->txn_do( sub { $self->update_model } );
return 1;
}
lib/Form/Processor/Model/DBIC.pm view on Meta::CPAN
a row is created using "create" and the fields identified as columns passed
in a hashref, followed by "other" fields and relationships.
=cut
sub update_model {
my ($self) = @_;
my $item = $self->item;
my $source = $self->source;
# get a hash of all fields, skipping fields marked 'noupdate'
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Form/Processor/Model/DOD.pm view on Meta::CPAN
Returns false if form does not validate. Very likely dies on database errors.
=cut
sub update_from_form {
my($model, $params) = @_;
return unless $model->validate($params);
# Grab either the item or the object class.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Form/Processor/Model/RDBO.pm view on Meta::CPAN
It does not save the current item automatically. You should do this in your
code, after the call update_from_form.
=cut
sub update_from_form {
my ( $self, $params ) = @_;
return unless $self->validate( $params );
return $self->update_model( $params );
}
lib/Form/Processor/Model/RDBO.pm view on Meta::CPAN
Returns the new RDBO item, filled with passed form params. It does not save any
data to the database, just creates and fills new RDBO object.
=cut
sub update_model {
my ( $self, $params ) = @_;
my $item = $self->item;
my $class = ref( $item ) || $self->object_class;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Form/Processor/Model.pm view on Meta::CPAN
return $item->{$name};
}
sub update_from_form {
die "must define 'update_from_form' in Form::Processor::Model subclass";
}
view all matches for this distribution
view release on metacpan or search on metacpan
AI/FreeHAL/Config.pm view on Meta::CPAN
package AI::FreeHAL::Config::Gap;
use AI::FreeHAL::Class;
### [caller 0]
{
sub serialize { return "\n" }
sub update {}
sub extend {}
sub copy_to {}
}
package AI::FreeHAL::Config::Comment;
AI/FreeHAL/Config.pm view on Meta::CPAN
sub append_comment {
my ($self, $new_text) = @_;
$text_of{ident $self} .= $new_text;
}
sub update {}
sub extend {}
sub copy_to {}
}
package AI::FreeHAL::Config::Keyval;
AI/FreeHAL/Config.pm view on Meta::CPAN
}
return $serialization;
}
sub update {
my ($self, $hash_ref, $updated_ref) = @_;
my $ident = ident $self;
my $key = $key_of{$ident};
AI/FreeHAL/Config.pm view on Meta::CPAN
}
return $serialization;
}
sub update {
my ($self, $hash_ref, $updated_ref) = @_;
my $ident = ident $self;
if (!defined $hash_ref) {
$deleted_of{$ident} = 1;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FreePAN/Command.pm view on Meta::CPAN
sub registry_outdated {
my $base = io($self->hub->config->base)->chdir;
-M 'plugins' < -M 'registry.dd';
}
sub update_registry {
$self->create_registry(@_);
}
sub handle_all {
warn "-all not yet implemented\n";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FreeRADIUS/Database.pm view on Meta::CPAN
return $self->password({ username => $username });
}
# NAS
sub update_ras_name {
my $self = shift;
my $params = shift;
my $day = $params->{ day };
view all matches for this distribution
view release on metacpan or search on metacpan
GLBackEnd.pm view on Meta::CPAN
sub quitpressed {
return delete $_[0]{QuitPressed};
}
sub update_scene {
my($this,$time) = @_;
while(XPending()) {
# print "UPDS: Xpend:",XPending(),"\n";
my @e = &glpXNextEvent();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Fry/Lib/CDBI/Basic.pm view on Meta::CPAN
#?: why does this system always return a fail code
#$cls->view("cdbi_update (y/n)? "); chomp($inp = <STDIN>);
$inp = $cls->Rline->stdin("cdbi_update (y/n)?");
return ($inp eq "y");
}
sub update_from_file {
my ($cls,$tempfile,@records) = @_;
my @lines = $cls->file2array($tempfile);
#my $firstline = shift(@lines);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Fsdb/IO.pm view on Meta::CPAN
=head2 update_v1_headerrow
internal: create the header the internal schema
=cut
sub update_v1_headerrow {
my $self = shift @_;
my $h = "#h ";
$h = "#L " if ($self->{_rscode} ne 'D');
if ($self->{_fscode} && $self->{_fscode} ne 'D') {
$h .= "-F" . $self->{_fscode} . " ";
lib/Fsdb/IO.pm view on Meta::CPAN
=head2 update_headerrow
internal: create the header the internal schema
=cut
sub update_headerrow($) {
my $self = shift @_;
my $h = "#fsdb ";
if ($self->{_fscode} && $self->{_fscode} ne 'D') {
$h .= "-F " . $self->{_fscode} . " ";
};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FP/Trie.pm view on Meta::CPAN
($t, $l, $maybe_lvl, $maybe_r_lvl)
}
}
}
sub update {
@_ == 3 or fp_croak_arity 3;
my ($t, $l, $fn) = @_;
if ($l->is_null) {
FP::Trie::ValueLevel->new($$t{sublevels}, &$fn($t->perhaps_value))
} else {
view all matches for this distribution
view release on metacpan or search on metacpan
print "begin new transaction\n";
#$dbh->begin_work || die $dbh->errstr;
}
sub update_db {
my $file = shift || die;
$files{$file}{ctime} = time();
my ($cont,$id) = (
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, '<', $filename
or die "Couldn't read '$filename': $!";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Future/Uring.pm view on Meta::CPAN
package
Future::Uring::_TimeoutFuture;
use parent -norequire, 'Future::Uring::_Future';
sub update($original, $seconds, %args) {
my $future = Future::Uring::_Future->new;
my (undef, $sourcename, $line) = caller;
my $id = $original->udata('uring_id');
my $time_spec = ref $seconds ? $seconds : Time::Spec->new($seconds);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/Graphics/Browser2.pm view on Meta::CPAN
$source =~ s!/+$!!;
$source;
}
sub update_data_source {
my $self = shift;
my $session = shift;
my $new_source = shift;
my $old_source = $session->source || $self->default_source;
view all matches for this distribution