view release on metacpan or search on metacpan
lib/MP3/Tag.pm view on Meta::CPAN
$data and call this method - no further tinkering with subtags is
needed.
=cut
sub update_tags {
my ($mp3, $data, $force2, $wr2) = (shift, shift, shift);
$mp3->get_tags;
$data = $mp3->autoinfo('from') unless defined $data;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MQUL.pm view on Meta::CPAN
See L<MQUL::Reference/"UPDATE STRUCTURE"> to learn about the structure of
update hash-refs.
=cut
sub update_doc {
my ( $doc, $obj ) = @_;
croak "MQUL::update_doc() requires a document hash-ref."
unless defined $doc && ref $doc && ref $doc eq 'HASH';
croak "MQUL::update_doc() requires an update hash-ref."
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MSDOS/Descript.pm view on Meta::CPAN
} # end write
#---------------------------------------------------------------------
# Save changes to descriptions:
sub update
{
$_[0]->write if $_[0]->changed;
} # end update
#=====================================================================
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MYDan/Agent/KeyUpdate.pm view on Meta::CPAN
}
return 0;
}
sub update
{
my $this = shift;
print "update ...\n";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mackerel/ReleaseUtils.pm view on Meta::CPAN
$body .= sprintf "- %s #%s\n", $rel->{title}, $rel->{number};
}
$body;
}
sub update_versions {
my ($package_name, $current_version, $next_version) = @_;
### update versions
my $cur_ver_reg = quotemeta $current_version;
lib/Mackerel/ReleaseUtils.pm view on Meta::CPAN
my $p = quotemeta $packagen_name;
my ($debian_revision) = $content =~ /^$p \([0-9]+(?:\.[0-9]+){2}-([^)]+)\) stable;/ms;
$debian_revision;
}
sub update_changelog {
my ($package_name, $next_version, @releases) = @_;
my $email = 'mackerel-developers@hatena.ne.jp';
my $name = 'mackerel';
lib/Mackerel/ReleaseUtils.pm view on Meta::CPAN
$content =~ s/\A# Changelog/# Changelog$update/;
$content;
};
}
sub update_makefile {
my $next_version = shift;
replace 'Makefile' => sub {
my $content = shift;
$content =~ s/^VERSION( *:*= *).*?\n/VERSION$1$next_version\n/ms;
$content;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Magrathea/API/Emergency.pm view on Meta::CPAN
If Magrathea's validation fails, the update will croak.
=cut
sub update
{
my $self = shift;
my $info = $self->info;
unless ($self->postcode and $self->name) {
croak "Name and postcode are mandatory";
view all matches for this distribution
view release on metacpan or search on metacpan
#------------------------------#
# Alias::update() Method #
# Version 1.0 8/13/00#
#------------------------------#
sub update {
my ($self, $alias, $address_string) = @_;
my ($found_it, $alias_line);
undef $found_it;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mail/Box/POP3.pm view on Meta::CPAN
sub openSubFolder($@) { undef } # fails
sub topFolderWithMessages() { 1 } # Yes: only top folder
sub update() {shift->notImplemented}
#-------------------------------------------
sub popClient(%)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mail/Box.pm view on Meta::CPAN
sub size() { sum map { $_->size } shift->messages('ACTIVE') }
sub update(@)
{ my $self = shift;
$self->updateMessages
( trusted => $self->{MB_trusted}
, head_type => $self->{MB_head_type}
lib/Mail/Box.pm view on Meta::CPAN
sub readMessages(@) {shift->notImplemented}
sub updateMessages(@) { shift }
sub writeMessages(@) {shift->notImplemented}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mail/Chimp/List.pm view on Meta::CPAN
sub delete_interest_group {
my ( $self, $name ) = @_;
return $self->_call( 'listInterestGroupDel', $name );
}
sub update_interest_group {
my ( $self, $old_name, $new_name ) = @_;
return $self->_call( 'listInterestGroupDel', $old_name, $new_name );
}
sub interest_groups {
lib/Mail/Chimp/List.pm view on Meta::CPAN
sub delete_merge_var {
my ( $self, $name ) = @_;
return $self->_call( 'listMergeVarDel', uc $name );
}
sub update_merge_var {
my ( $self, $name ) = @_;
return $self->_call( 'listMergeVarUpdate', uc $name );
}
sub merge_vars {
lib/Mail/Chimp/List.pm view on Meta::CPAN
sub unsubscribe_address {
my ( $self, $email, $delete ) = @_;
return $self->_call( 'listUnsubscribe', $email, $delete );
}
sub update_member {
my ( $self, $email, $merge_vars, $email_type, $replace_interests ) = @_;
$merge_vars ||= {};
return $self->_call( 'listUpdateMember', $email, $merge_vars, $email_type, $replace_interests );
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mail/DMARC/Base.pm view on Meta::CPAN
return 1 if $public_suffixes->{$zone};
return 0;
}
sub update_psl_file {
my ($self, $dryrun) = @_;
my $psl_file = $self->find_psl_file();
die "No Public Suffix List file found\n" if ( ! $psl_file );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mail/Decency/Core/SessionItem/ContentFilter.pm view on Meta::CPAN
Write store YAML file
=cut
sub update_store {
my ( $self ) = @_;
open my $fh, '>', $self->store
or die "Cannot open store file ". $self->store. " for write: $!";
my %create = ();
$create{ from } = $self->from if $self->from;
lib/Mail/Decency/Core/SessionItem/ContentFilter.pm view on Meta::CPAN
Update session from cached policy session
=cut
sub update_from_policy_cache {
my ( $self, $hash_ref ) = @_;
# update spam score
$self->spam_score( $self->spam_score + $hash_ref->{ spam_score } )
if $hash_ref->{ spam_score };
lib/Mail/Decency/Core/SessionItem/ContentFilter.pm view on Meta::CPAN
Update session from cached session
=cut
sub update_from_cache {
my ( $self, $hash_ref ) = @_;
$self->update_from_policy_cache( $hash_ref );
$self->virus( join( "; ", $self->virus, $hash_ref->{ virus } ) )
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mail/MtPolicyd/Plugin/Accounting.pm view on Meta::CPAN
$metrics->{'size_rcpt'} = $rcpt_cnt ? $size * $rcpt_cnt : $size;
return( $metrics );
}
sub update_accounting {
my ( $self, $field, $key, $metrics ) = @_;
eval {
$self->update_accounting_row($field, $key, $metrics);
};
lib/Mail/MtPolicyd/Plugin/Accounting.pm view on Meta::CPAN
$self->execute_sql($sql);
return;
}
sub update_accounting_row {
my ( $self, $field, $key, $metrics ) = @_;
my $dbh = $self->_db_handle;
my $table_name = $dbh->quote_identifier( $self->get_table_name($field) );
my $where = {
'key' => $key,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mail/Salsa/Action/Admin.pm view on Meta::CPAN
if(/^($patterns[0]) +<($patterns[1])>\s+/) { return([lc($2), $1]); }
if(/^<?($patterns[1])>?\s+/) { return([lc($1), ""]); }
return(["", ""]);
}
sub update_file {
my $newfile = shift;
my $oldfile = shift;
open(NEW, "<", $newfile) or die("$!");
open(OLD, ">", $oldfile) or die("$!");
lib/Mail/Salsa/Action/Admin.pm view on Meta::CPAN
unlink($file) or die("$!");
return(\@error);
}
sub update_list {
my $list = shift;
my $hash = shift;
open(OLDLIST, "<", $list) or die("$!");
open(NEWLIST, ">", "$list\.new") or die("$!");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mail/SpamAssassin/AICache.pm view on Meta::CPAN
$name = $self->canon($name);
return $self->{cache}->{$name};
}
sub update {
my ($self, $name, $date) = @_;
return unless $name;
$name = $self->canon($name);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mail/Toaster/Darwin.pm view on Meta::CPAN
else {
print "ports_check_age: Ports file is current (enough).\n";
}
}
sub update_ports {
my $self = shift;
my $cvsbin = $self->util->find_bin( "cvs",fatal=>0, verbose=>0 );
unless ( -x $cvsbin ) {
die "FATAL: could not find cvs, please install Developer Tools!\n";
lib/Mail/Toaster/Darwin.pm view on Meta::CPAN
else {
$self->update_ports_init();
};
};
sub update_ports_init {
my $self = shift;
print <<'EO_NO_PORTS';
WARNING! I expect to find your dports dir in /usr/ports/dports. Please install
it there or add a symlink there pointing to where you have your Darwin ports
lib/Mail/Toaster/Darwin.pm view on Meta::CPAN
chdir("/usr/dports/base");
$self->util->syscmd( "./configure; make; make install", verbose=>0 );
}
}
sub update_ports_sync {
my $self = shift;
print "\n\nupdate_ports: You might want to update your ports tree!\n\n";
if ( ! $self->util->yes_or_no(
question=>"\n\nWould you like me to do it for you?" ) )
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/Mail/Webmail/Gmail.pm view on Meta::CPAN
}
}
return ( $self->{_logged_in} );
}
sub update_tokens {
my ( $self, $res ) = @_;
my $previous = $res->previous();
if ( $previous ) {
update_tokens( $self, $previous );
lib/Mail/Webmail/Gmail.pm view on Meta::CPAN
$self->{_err_str} .= "Error: While requesting attachment: '$res->{_request}->{_uri}'.\n";
return;
}
}
sub update_prefs {
my ( $self ) = shift;
my ( %args ) = (
view => 'tl',
act => 'prefs',
search => 'inbox',
view all matches for this distribution
view release on metacpan or search on metacpan
Mail/Folder.pm view on Meta::CPAN
=back
=cut
sub update_message {
my $self = shift;
my $key = shift;
my $mref = shift;
return 0 if (($self->foldername eq '') ||
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Makefile/AST/Evaluator.pm view on Meta::CPAN
my ($self, $target) = @_;
$self->{updated}->{$target};
}
# update the mtime cache with -M $file
sub update_mtime ($$@) {
my ($self, $file, $cache) = @_;
$cache ||= $self->{mtime_cache};
if (-e $file) {
my $stat = stat $file or
die "$::MAKE: *** stat failed on $file: $!\n";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Makefile/Update/Bakefile0.pm view on Meta::CPAN
our $VERSION = '0.4'; # VERSION
sub update_bakefile_0
{
my ($in, $out, $vars) = @_;
# Variable whose contents is being currently replaced.
my $var;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mango/Bulk.pm view on Meta::CPAN
}
sub remove { shift->_remove(0) }
sub remove_one { shift->_remove(1) }
sub update { shift->_update(\1, @_) }
sub update_one { shift->_update(\0, @_) }
sub upsert { shift->_set(upsert => 1) }
sub _group {
my ($self, $group) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MangoX/Queue.pm view on Meta::CPAN
} else {
return $self->collection->find_one({'_id' => $id});
}
}
sub update {
my ($self, $job, $callback) = @_;
# FIXME Temporary fix to remove has_finished indicator from MangoX::Queue::Job
$job = { map { $_ => $job->{$_} } grep { $_ !~ /^(?:has_finished|events)$/ } keys %$job };
$job->{_id} = Mango::BSON::ObjectID->new($job->{_id}) if $self->no_binary_oid;
view all matches for this distribution
view release on metacpan or search on metacpan
devscripts/updateClasses.pl view on Meta::CPAN
updateClass('lib/Maplat/Worker.pm', 'lib/Maplat/Worker', 'Maplat::Worker::');
updateClass('lib/Maplat/Web.pm', 'lib/Maplat/Web', 'Maplat::Web::');
print "Done\n";
sub updateClass {
my ($filename, $dirname, $basename) = @_;
print "updating $filename with $basename classes from $dirname\n";
my @files = findModules($dirname, $basename);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Marathon/App.pm view on Meta::CPAN
my $self = shift;
$self->_bail unless defined $self->{parent};
return $self->{parent}->_post('/v2/apps', $self->get_updateable_values);
}
sub update {
my ($self, $args) = @_;
my $param = $args && $args->{force} && $args->{force} && $args->{force} !~ /false/i ? '?force=true' : ''; #default is false
$self->_bail unless defined $self->{parent};
return $self->{parent}->_put('/v2/apps/' . $self->id . $param, $self->get_updateable_values);
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/2011-12-12.mkd.t view on Meta::CPAN
ê°ê°ì í¬í ì¬ì´í¸ ë³ë¡ C<Web::Scraper> 모ëì ì´ì©í´ì íì´ì§ë¥¼ ê¸ì í
íì°¨ ê´ë ¨ ì 보를 ì¶ì¶íëë¡ í©ëë¤.
ë¤ì´í¸ ì¹í°ì ëí´ ì²ë¦¬íë ì½ëë ë¤ìê³¼ ê°ìµëë¤.
#!perl
sub update_nate_link {
my ( $id, @links ) = @_;
...
my @chapters = sort {
my $page_no_a = 0;
my $page_no_b = 0;
t/2011-12-12.mkd.t view on Meta::CPAN
ì¹í°ì ì 보를 ê¸ì´ì¤ë í¨ìë C<update_all()>ê³¼ C<update()> í¨ìì
ëë¤.
C<update_all()> í¨ìë ë´ë¶ì ì¼ë¡ C<update()> í¨ì를 í¸ì¶íë¯ë¡
C<update()> í¨ì를 ê°ëµíê² ì´í´ë³´ì£ .
#!perl
sub update {
my $id = shift;
return unless $id;
my $webtoon = $CONFIG->{webtoon};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mastodon/Client.pm view on Meta::CPAN
: 'timelines/' . $query;
return $self->get($endpoint, $params);
}
sub update_account {
my $self = shift;
state $check = compile(
slurpy Dict [
display_name => Optional [Str],
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Math/LP.pm view on Meta::CPAN
}
}
return $lprec;
}
sub update_variable_values { # copies the variable values to the variable objects
my Math::LP $this = shift;
my $lprec = shift;
# the variable values are found in the solution vector
my $solution = Math::LP::Solve::lprec_best_solution_get($lprec);
lib/Math/LP.pm view on Meta::CPAN
foreach(values %{$this->{variables}}) {
my $var_index = $_->{col_index};
$_->{value} = Math::LP::Solve::ptrvalue($solution,$offset+$var_index);
}
}
sub update_slacks {
my Math::LP $this = shift;
my $lprec = shift;
# the slacks are fetched from the solution vector
my $solution = Math::LP::Solve::lprec_best_solution_get($lprec);
lib/Math/LP.pm view on Meta::CPAN
# Also fetch the objective function value
if(defined($this->{objective_function})) {
$this->{objective_function}->{value} = Math::LP::Solve::ptrvalue($solution,0);
}
}
sub update_dual_values {
my Math::LP $this = shift;
my $lprec = shift;
# the dual values are fetched from the duals vector
my $duals = Math::LP::Solve::lprec_duals_get($lprec);
view all matches for this distribution
view release on metacpan or search on metacpan
inc/MyBuilder.pm view on Meta::CPAN
$self->dispatch("compile_xs");
$self->SUPER::ACTION_code;
}
sub update_XS {
my ($self, $file) = @_;
my $output = $file;
$output =~ s/\.inc$//;
open my $i_fh, "<", $file or die "$!";
view all matches for this distribution
view release on metacpan or search on metacpan
test_eng/Testout.pm view on Meta::CPAN
print(@_), return unless $ENV{AUTOMATED_TESTING};
warn("# in = `$in'\n", @_);
print("not ok $n\n");
}
sub update_seen ($) {
my $seen_now = CORE::shift;
@seen{keys %$seen_now} = values %$seen_now;
# my @VARS = map "\$$_", keys %$seen_now;
# eval 'use vars @VARS; 1' or die "use vars: $@";
}
view all matches for this distribution