LCC
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
# IN: 1 instantiated LCC object
# 2 (optional) flag to force partial document set
sub partial { shift->_backend_method( 'partial',@_ ) } #partial
#-------------------------------------------------------------------------
# IN: 1 instantiated LCC object
sub update { shift->_backend_method( 'update',@_ ) } #update
#-------------------------------------------------------------------------
# IN: 1 instantiated object
# 2 reference to hash with provider credentials (id and password)
# 3 handle to write XML to or reference to list of handles to write to
# (default: just return the resulting XML)
# OUT: 1 resulting XML
sub update_notification_xml {
# Obtain the object
# Obtain the credentials
# Obtain the handles to write to
# Initialize the XML
my $self = shift;
my $credentials = shift;
my @handle = ref($_[0]) eq 'ARRAY' ? @{(shift)} : shift;
lib/LCC/Backend/DBI.pm view on Meta::CPAN
while (my ($key,$list) = $sth->fetchrow_array) {
$key =~ s#^\0## ? $self->{$key} = $list : $old->{$key} = $list;
}
$self->_check_uns_complete unless shift || '';
} #partial
#------------------------------------------------------------------------
# IN: 1 instantiated object
sub update {
# Obtain the object
# Add error if we haven't got anything to compare with
# Return now if there is nothing to do
my $self = shift;
$self->_add_error( "Unclear whether 'complete' or 'partial' update" )
unless exists( $self->{'old'} );
return unless exists $self->{'new'};
lib/LCC/Backend/DBI/mysql.pm view on Meta::CPAN
value VARCHAR(255) NOT NULL,
UNIQUE id (id)
)
EOD
} #create
#------------------------------------------------------------------------
# IN: 1 instantiated object
sub update {
# Obtain the object
# Add error if we haven't got anything to compare with
# Return now if there is nothing to do
my $self = shift;
$self->_add_error( "Unclear whether 'complete' or 'partial' update" )
unless exists( $self->{'old'} );
return unless exists $self->{'new'};
lib/LCC/Backend/Storable.pm view on Meta::CPAN
} #partial
#------------------------------------------------------------------------
# The following methods change the object
#------------------------------------------------------------------------
# IN: 1 instantiated object
sub update {
# Obtain the object
# Add error if unclear what kind of update was done
# Return now if there is nothing to do
my $self = shift;
$self->_add_error( "Unclear whether 'complete' or 'partial' update" )
unless exists( $self->{'old'} );
return unless exists $self->{'new'};
lib/LCC/Backend/textfile.pm view on Meta::CPAN
} #partial
#------------------------------------------------------------------------
# The following methods change the object
#------------------------------------------------------------------------
# IN: 1 instantiated object
sub update {
# Obtain the object
# Add error if unclear what kind of update was done
# Return now if there is nothing to do
my $self = shift;
$self->_add_error( "Unclear whether 'complete' or 'partial' update" )
unless exists( $self->{'old'} );
return unless exists $self->{'new'};
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.094 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )