FAST
view release on metacpan or search on metacpan
lib/FAST/Bio/DB/Taxonomy/entrez.pm view on Meta::CPAN
Returns : a string indicating the proxy
Args : $protocol : an array ref of the protocol(s) to set/get
$proxyurl : url of the proxy to use for the specified protocol
$username : username (if proxy requires authentication)
$password : password (if proxy requires authentication)
=head2 authentication
Title : authentication
Usage : $db->authentication($user,$pass)
Function: Get/Set authentication credentials
Returns : Array of user/pass
Args : Array or user/pass
=cut
# make a Taxon object from data hash ref
sub _make_taxon {
my ($self, $data) = @_;
my $taxon = FAST::Bio::Taxon->new();
lib/FAST/Bio/Root/HTTPget.pm view on Meta::CPAN
my ($protocol) = @_;
my $atts = ref($self) ? $self : \%attributes;
$protocol ||= 'http';
delete $atts->{'_proxy'}->{$protocol};
}
=head2 authentication
Title : authentication
Usage : $db->authentication($user,$pass)
Function: Get/Set authentication credentials
Returns : Array of user/pass
Args : Array or user/pass
=cut
sub authentication {
my $self;
if($_[0] && (ref($_[0]) or $_[0] =~ /^FAST::FAST::Bio::/)) {
$self = shift;
( run in 0.273 second using v1.01-cache-2.11-cpan-4d50c553e7e )