view release on metacpan or search on metacpan
lib/Business/RealEx.pm view on Meta::CPAN
XML
return $self->__request($xml);
}
sub update_card {
my $self = shift;
my %args = @_ % 2 ? %{$_[0]} : (@_);
$args{update_card} = 1;
$self->new_card(%args);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Business/Stripe/Subscription.pm view on Meta::CPAN
$self->{'error'} = 'Cancellation failed';
return undef;
}
# Change subscripotion to a different price plan
sub update {
my ($self, $subscription, $plan) = @_;
$self->{'error'} = '';
$self->{'error'} = 'Subscription missing' unless $subscription;
$self->{'error'} = 'Subscription plan missing' unless $plan;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Business/Stripe/Webhook.pm view on Meta::CPAN
$webhook->reply(status => 'OK');
} else {
$webhook->reply(error => $webhook->error());
}
sub update_invoice {
# Process paid invoice
...
}
sub update_session {
# Process checkout
...
}
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
bin/utv_usage_applet.pl view on Meta::CPAN
{
print "Login failed :(\n";
exit(1);
}
sub update_text
{
my $usage = $utv->usage();
my $up = $usage->{"upload"};
my $down = $usage->{"download"};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Buzznet/API.pm view on Meta::CPAN
}
return @buzzwords;
}
sub updateProfile
{
my $self = shift;
my $profile = shift;
return $self->sendRequest(UPDATEPROFILE,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/C/Analyzer.pm view on Meta::CPAN
=cut
#################### subroutine header end ####################
sub updateHashTable() {
my $fun_calls = shift;
my $OpenCount = 0;
my $CloseCount = 0;
my $function;
my $FUNCTIONFOUND = 0;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CAM/SQLObject.pm view on Meta::CPAN
Returns the name of the default query to do record updates in SQL XML
file (needed for save()). This default method returns "update".
=cut
sub updateQueryName
{
my $pkg_or_self = shift;
return "update";
}
lib/CAM/SQLObject.pm view on Meta::CPAN
Run the default update SQL template. This function is usually just
called from the save() function.
=cut
sub update
{
my $self = shift;
my $query = shift || $self->{update_name};
return $self->_runSQL($query);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CASCM/Wrapper.pm view on Meta::CPAN
return $self->set_context($context);
} ## end sub load_context
# Update Context
sub update_context {
my $self = shift;
my $new = shift || {};
if ( ref $new ne 'HASH' ) {
$self->_err("Context must be a hash reference");
lib/CASCM/Wrapper.pm view on Meta::CPAN
$context->{$type}->{$key} = $new->{$type}->{$key};
}
} ## end foreach my $type ( keys %{$new...})
return $self->set_context($context);
} ## end sub update_context
# Parse logs
sub parse_logs {
my $self = shift;
if (@_) {
view all matches for this distribution
view release on metacpan or search on metacpan
my $o = shift;
return $o->{actorSelector}->child('name')->textValue;
}
sub updateMyRegistration {
my $o = shift;
$o->{actorSelector}->addObject($o->{keyPair}->publicKey->hash, $o->{keyPair}->publicKey->object);
my $record = CDS::Record->new;
$record->add('hash')->addHash($o->{keyPair}->publicKey->hash);
view all matches for this distribution
view release on metacpan or search on metacpan
Viewport/Viewport.pm view on Meta::CPAN
sub setXC { my $obj = shift; my $v = shift; $obj->{_XC} = $v; }
sub setYC { my $obj = shift; my $v = shift; $obj->{_YC} = $v; }
sub setf { my $obj = shift; my $v = shift; $obj->{_f} = $v; }
sub setwindowset { my $obj = shift; my $v = shift; $obj->{_windowset} = $v; }
sub updatewindowboundaries {
my $obj = shift;
my $x = shift;
my $y = shift;
my $xmin = $obj->getxmin();
my $xmax = $obj->getxmax();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/AppToolkit/Data/Object.pm view on Meta::CPAN
#-------------------------------------#
# update an object
sub update {
my $self = shift;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Application/Demo/Basic.pm view on Meta::CPAN
} # End of start.
# -----------------------------------------------
sub update_options
{
my($self) = @_;
my(@key) = keys %{${$self -> param('key')}{'option'} };
$self -> log -> info('Called update_options');
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Application/NetNewsIface.pm view on Meta::CPAN
Updates the cache records for the NNTP group C<$group>. This method is used
for maintenance, to make sure a script loads promptly.
=cut
sub update_group
{
my $self = shift;
my $group = shift;
my $cache = CGI::Application::NetNewsIface::Cache::DBI->new(
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Application/Plugin/Authentication.pm view on Meta::CPAN
POST_LOGIN_CALLBACK => \&update_login_date
and later in your code:
sub update_login_date {
my $self = shift;
return unless($self->authen->is_authenticated);
...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Application/Plugin/Authorization.pm view on Meta::CPAN
# rest of the runmode
...
}
sub update_widget {
my $self = shift;
my $widget = $self->query->param('widget_id');
# Can this user edit this widget in the widgets table?
return $self->authz->forbidden unless $self->authz('dbaccess')->authorize(widgets => $widget);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Builder/Auth/UserAdmin.pm view on Meta::CPAN
delete $attr{$_}; #just incase, everything else should be OK
}
return new CGI::Builder::Auth::GroupAdmin (%attr, @_);
}
sub update {
my($self, $username, $passwd, @fields) = @_;
return (0, "User '$username' does not exist") unless $self->exists($username);
my ($old_encr, $bool);
if (!defined $passwd) {
$bool = 1;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/CRUD/TableIO.pm view on Meta::CPAN
# convenient because values of length < 4 (e.g. YORN and date elements) will have to be expanded to 4
# losing some ability to constrain the values
# THIS MEANS IT IS UP TO YOU TO REPRESENT ALL VALUES IN AN UPDATE, OTHERWISE THEY **WILL BE SET TO NULL**
# e.g. submit a full record to form->add_record and make sure field_template has *all* fields, either by
# completely relying on the data dictionary or inserting a record for all fields in UI_TABLE_COLUMN
sub update_data
{
my ($self,$r) = @_;
my $form = $self->update_form($r) || return undef;
my $q = $r->query();
my %vq = %$q;
lib/CGI/CRUD/TableIO.pm view on Meta::CPAN
$msg .= $self->return_results($q);
$r->output($msg);
}
# Build update form
sub update_form
{
my ($self,$r) = @_;
my $form = $r->form($r->dbh());
my $table_name = $r->param('__SDAT_TAB_ACTION.TABLE_NAME');
$form->heading("Update $table_name");
lib/CGI/CRUD/TableIO.pm view on Meta::CPAN
$r->graceful_add_form_group($form,'DISPLAY EDIT',$table_name,'Edit fields and submit when done') || return undef;
return $form;
}
# Build/present update form
sub update_req
{
my ($self,$r) = @_;
my $form = $self->update_form($r) || return undef;
my $q = $r->query();
$q->{'__SDAT_TAB_ACTION.ACTION'} = 'UD';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Kwiki/Database.pm view on Meta::CPAN
) {
unlink "$_/$page_id";
}
}
sub update_time {
my ($self) = @_;
my @stat = stat $self->file_path($self->cgi->path_id);
$stat[9];
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Lazy/DB/RecordSet.pm view on Meta::CPAN
return $self->{_table};
}
}
#-------------------------------------------------------------------------------
sub update {
my $self = shift;
my $data = shift;
my $vars = shift;
my $table = $self->table;
lib/CGI/Lazy/DB/RecordSet.pm view on Meta::CPAN
}
#----------------------------------------------------------------------
sub updateadditional {
my $self = shift;
return $self->{_updateadditional};
}
#----------------------------------------------------------------------
sub updatedefaults {
my $self = shift;
return $self->{_updatedefaults};
}
view all matches for this distribution
view release on metacpan or search on metacpan
Listman/line.pm view on Meta::CPAN
=back
=cut
sub update_fields {
my ($self, $fields_ref) = @_;
delete $self->{'data'}
if (defined $self->{'data'});
view all matches for this distribution
view release on metacpan or search on metacpan
MxScreen/Form/Button.pm view on Meta::CPAN
}
#
# ->update
#
sub update {
DFEATURE my $f;
my $self = shift;
($self->[NAME],
$self->[ACTION],
view all matches for this distribution
view release on metacpan or search on metacpan
lib/DemoUsage.pm view on Meta::CPAN
}
}
######################################################################
sub update_env_counts {
my $self = shift( @_ );
my $globals = $self->{$KEY_SITE_GLOBALS};
my $rh_prefs = $globals->get_prefs_ref();
my $rh_log_prefs = $rh_prefs->{$PKEY_LOG_ENV};
lib/DemoUsage.pm view on Meta::CPAN
(map { "\$ENV{$_} = \"$ENV{$_}\"" } @{$ra_var_list}) );
}
######################################################################
sub update_site_vrp_counts {
my $self = shift( @_ );
my $globals = $self->{$KEY_SITE_GLOBALS};
my $rh_prefs = $globals->get_prefs_ref();
my $rh_log_prefs = $rh_prefs->{$PKEY_LOG_SITE};
lib/DemoUsage.pm view on Meta::CPAN
$globals->http_redirect_url() ? $t_rd : () );
}
######################################################################
sub update_redirect_counts {
my $self = shift( @_ );
my $globals = $self->{$KEY_SITE_GLOBALS};
my $rh_prefs = $globals->get_prefs_ref();
my $rh_log_prefs = $rh_prefs->{$PKEY_LOG_REDIRECT};
lib/DemoUsage.pm view on Meta::CPAN
$self->update_one_count_file( $filename, $globals->http_redirect_url() );
}
######################################################################
sub update_referrer_counts {
my $self = shift( @_ );
my $globals = $self->{$KEY_SITE_GLOBALS};
my $rh_prefs = $globals->get_prefs_ref();
my $rh_log_prefs = $rh_prefs->{$PKEY_LOG_REFERRER};
lib/DemoUsage.pm view on Meta::CPAN
$fn_discards and $self->update_one_count_file( $fn_discards, @ref_disc );
}
######################################################################
sub update_one_count_file {
my ($self, $filename, @keys_to_inc) = @_;
my $globals = $self->{$KEY_SITE_GLOBALS};
my $rh_prefs = $globals->get_prefs_ref();
push( @keys_to_inc, $rh_prefs->{$PKEY_TOKEN_TOTAL} );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/ProgressBar.pm view on Meta::CPAN
Updates the progress bar.
=cut
sub update_progress_bar {
# my ($self, @crud) = CGI::self_or_default;
return "<script type='text/javascript'>//<!--
pblib_progress_update()\n//-->\n</script>\n";
}
view all matches for this distribution
view release on metacpan or search on metacpan
eg/example4 view on Meta::CPAN
&execute_sql( $stmt,
p( colour( "BLUE", "Record $KEYFIELDVAL added successfully" ) ) ) ;
}
sub update_record {
my $stmt = "UPDATE $TABLE SET" ;
foreach my $fieldref ( @FIELD ) {
next if $fieldref->{-TYPE} and
( $fieldref->{-TYPE} eq 'hidden' or
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/WebToolkit.pm view on Meta::CPAN
$self->query($sql);
return $self->{'dbh'}->last_insert_id(undef, undef, $opts->{'table'}, 'id');
}
sub update
{
my ($self, %options) = __parse_args(@_);
my $opts = __parse_params( \%options,
{
table => '',
view all matches for this distribution
view release on metacpan or search on metacpan
bin/cipp-l10n view on Meta::CPAN
}
1;
}
sub update_po_for_all_domains {
my ($conf, $ns_root_dir) = @_;
my $ns_prod_dir = "$ns_root_dir/prod";
my $ns_tmp_dir = "$ns_root_dir/tmp";
view all matches for this distribution
view release on metacpan or search on metacpan
IsamObjects.pm view on Meta::CPAN
}
#$this->{ISAM_OBJ}->isstart($this->INDEXMAP->{$path}, 0, $this->{BUFFER}, $mode);
}
#this function updates the record that already exists
sub update
{
my $this = shift;
$this->_stuff_buffer();
$this->{ISAM_OBJ}->isrewrite($this->{BUFFER});
}
view all matches for this distribution
view release on metacpan or search on metacpan
last;
}
}
}
sub update {
my ($self, $i, $j, $val) = @_;
$self->{board}->[$i][$j] = $val;
$self->{squares}->[$i][$j]->set ($self->{pixmaps}->[$val], undef);
view all matches for this distribution
view release on metacpan or search on metacpan
last;
}
}
}
sub update {
my ($self, $i, $j, $val) = @_;
$self->{board}->[$i][$j] = $val;
$self->{squares}->[$i][$j]->set ($self->{pixmaps}->[$val], undef);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Checksums.pm view on Meta::CPAN
close $fh;
}
return($old_ddump,$is_signed);
}
sub updatedir ($;$) {
my($dirname, $root) = @_;
my $ckfn = File::Spec->catfile($dirname, "CHECKSUMS"); # checksum-file-name
my($old_ddump,$is_signed) = _read_old_ddump($ckfn);
my($old_dref) = makehashref($old_ddump);
my $dref = _dir_to_dref($dirname,$old_dref,$root);
view all matches for this distribution