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
view release on metacpan or search on metacpan
lib/CPAN/InGit/MutableTree.pm view on Meta::CPAN
chmod($path, $mode) || die "chmod($path, $mode): $!"
if defined $mode && $mode != 0100644;
}
sub update_tree($self) {
# If using the Index, the index can write the new tree
if ($self->use_workdir) {
$self->tree($self->git_repo->index->write_tree);
} else {
$self->tree(_assemble_tree($self->git_repo, $self->tree, $self->_changes));
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/MetaCurator/Database.pm view on Meta::CPAN
} # End of read_metapackager_table.
# --------------------------------------------------
sub update_table
{
my($self, $table_name, $id, $columns) = @_;
my($sql) = "update $table_name set $columns where id = $id";
my($set) = $self -> db -> query($sql) || die $self -> db -> error;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/FromList.pm view on Meta::CPAN
our %dists = ();
sub update_mirror {
my $self = shift;
my @args = @_;
my %args=@args;
foreach my $d (@{$args{list}}) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Growl.pm view on Meta::CPAN
use Parse::CPAN::Authors;
my $AppName = "CPAN::Mini::Growl";
my $EventType = "New Distribution";
sub update_mirror {
my $class = shift;
my $self = $class->SUPER::new(@_);
$self->SUPER::update_mirror;
Mac::Growl::RegisterNotifications($AppName, [ $EventType ], [ $EventType ]);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Inject/Remote.pm view on Meta::CPAN
Calls the update function on the remote server
=cut
sub update {
my $self = shift;
my %args = validate(@_,
{
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Inject/Server.pm view on Meta::CPAN
Updates the cpan mirror
=cut
sub update :Runmode {
my $self = shift;
my $mcpi = $self->_mcpi();
$mcpi->update_mirror();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Inject.pm view on Meta::CPAN
This is a subclass of CPAN::Mini.
=cut
sub update_mirror {
my $self = shift;
my %options = @_;
croak sprintf "$0: local directory <%s> is not writable. Cannot update mirror.", $self->config->get( 'local' )
unless -w $self->config->get('local');
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Live.pm view on Meta::CPAN
use warnings;
use AnyEvent::FriendFeed::Realtime;
use base qw( CPAN::Mini );
our $VERSION = '0.33';
sub update_mirror {
my $self = shift;
$self = $self->new(@_) unless ref $self;
# first we have to catch up if we've missed anything
$self->trace("updating mirror...\n");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini.pm view on Meta::CPAN
#pod
#pod =end :list
#pod
#pod =cut
sub update_mirror {
my $self = shift;
$self = $self->new(@_) unless ref $self;
unless ($self->{offline}) {
my $local = $self->{local};
view all matches for this distribution