view release on metacpan or search on metacpan
lib/Atompub/Client.pm view on Meta::CPAN
return $client->error('Response is not Media Resource')
if UNIVERSAL::isa($client->rc, 'XML::Atom::Entry');
wantarray ? ($client->rc, $client->res->content_type) : $client->rc;
}
sub updateEntry {
my($client, $uri, $entry) = @_;
return $client->error('No URI') unless $uri;
return $client->error('No Entry') unless $entry;
unless (UNIVERSAL::isa( $entry, 'XML::Atom::Entry')) {
$entry = XML::Atom::Entry->new($entry)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Audio/Audiere.pm view on Meta::CPAN
$self->{_streams3d}->{ $stream->{_id} } = $stream;
}
$stream;
}
sub update3D
{
my $self = shift;
foreach my $id (keys %{$self->{_streams3d}})
{
view all matches for this distribution
view release on metacpan or search on metacpan
DB/Build.pm view on Meta::CPAN
# UPDATE DATABASE IS NOT COMPLETELY WORKING YET!!
# Wrapper method for quickly adding new songs to a database.
# This needs to check within the DB itself for artists
# and albums, as well as within the current set.
sub update_database {
my ($self,@p) = @_;
my ($dirs,$files,$columns,$tmp,$shout,@others) =
rearrange([
[qw(DIR DIRS TOP_DIRS)],
FILES,
view all matches for this distribution
view release on metacpan or search on metacpan
examples/mpc.pl view on Meta::CPAN
$x->set_fade($ARGV[1]);
} else {
help;
}
}
sub update { $x->updatedb(); }
sub version { print "mpd version: ".$x->{version}."\n"; }
# main() - Main sub
sub main
{
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Audio/Metadata/TextProcessor.pm view on Meta::CPAN
return \%new_args;
}
sub update_from_cue {
## Reads track info from a cue file and saves to tracks, based on track numbers.
my $self = shift;
my @metadatas = $self->_input_cue;
my @file_names = grep /^\d+[_ ]?-[_ ]?.+\.(flac|ogg|mp3)$/i, glob('*.*');
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Audio/Nama/Bus.pm view on Meta::CPAN
} $bn{Main}->tracks;
}
sub update_submix {
my $name = shift;
add_submix( $name,
$bn{$name}->send_id),
"dummy",
}
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/Authen/Htpasswd.pm view on Meta::CPAN
Modifies the entry for a user saves it to the file. If the user entry does not
exist, it is created. The options in the second form are passed to L<Authen::Htpasswd::User>.
=cut
sub update_user {
my $self = shift;
my $user = $self->_get_user(@_);
my $username = $user->username;
my ($old,$new) = $self->_start_rewrite;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Authen/Users.pm view on Meta::CPAN
return;
}
sub user_add { shift->add_user(@_) }
sub update_user_all {
my ( $self, $group, $user, $password, $fullname, $email, $question,
$answer ) = @_;
$self->validate( $group, $user, $password ) or return;
my $salt = 0;
if($self->{make_salt}) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Autodia/Diagram/Class.pm view on Meta::CPAN
sub get_operation {
my ($self, $name) = @_;
return $self->{operation_index}{$name};
}
sub update_operation {
my $self = shift;
my $operation = shift;
$self->{"operations"}[$operation->{_id}] = $operation;
$self->{operation_index}{$operation->{name}} = $operation;
view all matches for this distribution
view release on metacpan or search on metacpan
bin/apache/site_perl/Apache/Toe.pm view on Meta::CPAN
}
sub updateBoard
{
if ( ref($_[0]) eq "Aw::Event" ) {
#
# Remote Move
view all matches for this distribution
view release on metacpan or search on metacpan
lib/B/DeparseTree/TreeMain.pm view on Meta::CPAN
$info->{other_ops} = \@skipped_ops;
return $info;
}
sub update_node($$$$)
{
my ($self, $node, $prev_expr, $op) = @_;
$node->{prev_expr} = $prev_expr;
my $addr = $prev_expr->{addr};
if ($addr && ! exists $self->{optree}{$addr}) {
view all matches for this distribution
view release on metacpan or search on metacpan
eg/nagios2bugzilla/talktobugzilla.pl view on Meta::CPAN
return 1
}
sub update_bug {
my $f = shift;
my $bug = shift;
my $params = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Backed_Objects.pm view on Meta::CPAN
$self->on_update($obj);
$self->on_order_change;
$self->on_any_change;
}
sub update {
my ($self, $obj) = @_;
die "Updating an object not in DB!" unless $self->id($obj);
$self->before_update($obj);
$self->do_update($obj);
$self->post_process($obj);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/BalanceOfPower/Relations/RelPack.pm view on Meta::CPAN
else
{
return 0;
}
}
sub update_link
{
my $self = shift;
my $link = shift;
$self->delete_link($link->node1, $link->node2);
$self->add_link($link);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Basset/DB/Table.pm view on Meta::CPAN
=cut
__PACKAGE__->add_attr('_cached_bindables');
sub update_bindables {
my $self = shift;
if (my $bindables = $self->_cached_bindables->{'update'}) {
return @$bindables;
} else {
my @excess = $self->primary_cols;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Beagle/Backend/base.pm view on Meta::CPAN
}
}
return %file;
}
sub update {
my $self = shift;
my $object = shift;
}
sub delete {
my $self = shift;
my $object = shift;
}
sub updated {
my $self = shift;
}
no Any::Moose;
__PACKAGE__->meta->make_immutable;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Benchmark/Perl/Formance/Plugin/Shootout/knucleotide.pm view on Meta::CPAN
}
print $output if $PRINT;
}
sub update_hash_for_frame {
my $frame = $_[0];
my @threads;
for my $i (0 .. $threads - 1) {
use integer;
my $begin = $l * $i / $threads;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bigtop/Parser.pm view on Meta::CPAN
return [ $self->{__IDENT__} => $self->{__NAME__} ];
}
# if a renamed field is in foreign_display, update it
sub update_foreign_display {
my $self = shift;
shift;
my $data = shift;
return unless $self->{ __TYPE__ } eq 'foreign_display';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bintray/API/Package.pm view on Meta::CPAN
anon => 1,
);
} ## end sub info
## Update Package
sub update {
my ( $self, @args ) = @_;
my %opts = validate_with(
params => [@args],
spec => {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/BPWrapper/SeqManipulations.pm view on Meta::CPAN
$out->write_seq($seqobj);
}
}
sub update_longest_orf {
while( my $seqobj = $in->next_seq() ) {
my $pep_string = $seqobj->translate( undef, undef, 0 )->seq();
unless ($pep_string =~ /\*[A-Z]/) { # no internal stop; don't proceed
my $id = $seqobj->id();
$seqobj->id($id . "|+1");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/BioStudio/Foswiki.pm view on Meta::CPAN
=head2 update_wiki
=cut
sub update_wiki
{
my ($BS, $pa, $commentarr) = @_;
my $VERPATH = $pa->{CHRPATH} . "/$pa->{NEWCHROMOSOME}.txt";
my @arr = @{$commentarr};
if ($BS->{enable_gbrowse})
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/BioVeL/AsynchronousService.pm view on Meta::CPAN
the process that was launched by launch(), and will update the status, e.g. from RUNNING
to DONE or ERROR.
=cut
sub update {
my $self = shift;
my $log = $self->logger;
my $status = DONE;
if ( my $pid = $self->pid ) {
my $timestamp = $self->timestamp;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/Cellucidate/Base.pm view on Meta::CPAN
my $id = shift;
my $format = shift;
$self->rest('GET', $self->route . "/" . $id, $format)->processResponse;
}
sub update {
my $self = shift;
my $id = shift;
my $data = $self->args(shift);
my $format = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/DB/GFF/Adaptor/dbi/pg.pm view on Meta::CPAN
}
$sth->finish;
return $count;
}
sub update_sequences {
my $self = shift;
my $dbh = $self->features_db;
$dbh->do("SELECT setval('public.fdata_fid_seq', max(fid)+1) FROM fdata");
$dbh->do("SELECT setval('public.fattribute_fattribute_id_seq', max(fattribute_id)+1) FROM fattribute");
view all matches for this distribution