view release on metacpan or search on metacpan
lib/File/Sticker.pm view on Meta::CPAN
Add/Update the given files into the database.
$sticker->update_db(@files);
=cut
sub update_db {
my $self = shift;
my @files = @_;
my $transaction_on = 0;
my $num_trans = 0;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/Tabular/Web.pm view on Meta::CPAN
$self->{results} = {count => 1, records => [$record], lineNumbers => [-1]};
}
#----------------------------------------------------------------------
sub update {
#----------------------------------------------------------------------
my ($self) = @_;
# check if there is one record to update
my $found = $self->{results};
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/Filesys/POSIX/Inode.pm view on Meta::CPAN
Updates the current inode object with a list of values as returned by
L<stat()|perlfunc/stat>.
=cut
sub update {
my ( $self, @st ) = @_;
@{$self}{qw(size atime mtime ctime uid gid mode rdev)} =
( @st[ 7 .. 10 ], @st[ 4 .. 5 ], $st[2], $st[6] );
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/Finance/Alpaca.pm view on Meta::CPAN
sub watchlist ( $s, $watchlist_id ) {
my $res = $s->ua->get( $s->endpoint . '/v2/watchlists/' . $watchlist_id )->result;
return $res->is_error ? ( $res->json ) : to_Watchlist( $res->json );
}
sub update_watchlist ( $s, $watchlist_id, %params ) {
my $res
= $s->ua->put( $s->endpoint . '/v2/watchlists/' . $watchlist_id => json => {%params} )
->result;
return $res->is_error ? ( $res->json ) : to_Watchlist( $res->json );
}
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
@section = map { $_ =~ s!^=\w+\s+!!; $_ } @section;
return join "", @section;
}
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/Finance/Currency/Convert/BChile.pm view on Meta::CPAN
You can pass a fake value as a parameter. In this case there's no
update from bcentral site.
=cut
sub update {
my $self = shift;
my $simulate = shift;
if ($simulate) {
$self->{'dolar'} = $simulate;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Finance/Currency/Convert/Custom.pm view on Meta::CPAN
use base qw(Finance::Currency::Convert);
use LWP::UserAgent;
our $VERSION = '1.00';
sub updateRates() {
my $self = shift;
my $sub_ref = shift;
my @CurrencyList = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
print RATES "\n";
};
close(RATES);
}
sub updateRates() {
my $self = shift;
my @CurrencyList = @_;
# test if Finance::Quote is available
eval { require Finance::Quote; };
if ($@) {
view all matches for this distribution
view release on metacpan or search on metacpan
examples/MyEventHandler.pm view on Meta::CPAN
{}
#
# Account and Portfolio
#
sub updateAccountValue
{}
sub updatePortfolio
{}
sub updateAccountTime
{}
#
# News Bulletins
#
sub updateNewsBulletin
{}
#
# Contract Details
#
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Finance/Quant.pm view on Meta::CPAN
$self->{config}->{'sources'} = $sources;
$self->createDataDir();
$self->_init();
return $self;
}
sub updateSymbols {
my $self = shift;
$self->getNasdaqSymbols(File::Spec->tmpdir(),$self->{config}->{sources}->{NASDAQ_SYMBOLS});
}
sub _init{
my $self = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Finance/QuoteDB.pm view on Meta::CPAN
updatedb()
=cut
sub updatedb {
my $self = shift ;
my $dsn = $self->{dsn};
INFO ("COMMAND: Update database $dsn\n");
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};
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',
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;
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