Lincoln D. Stein > Bio-Das > Bio::Das::Request::Types

Download:
Bio-Das-1.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Source  

NAME ^

Bio::Das::Request::Types - The DAS "types" request

SYNOPSIS ^

 my @types                = $request->results;
 my $types                = $request->results;

 my $das_command          = $request->command;
 my $successful           = $request->is_success;
 my $error_msg            = $request->error;
 my ($username,$password) = $request->auth;

DESCRIPTION ^

This is a subclass of Bio::Das::Request specialized for the "types" command. All methods are the same as Bio::Das::Request with the exception of results(), which has been modified to make it more useful.

$types = $request->results

In a scalar context, results() returns a hashref in which the keys are segment strings (in the form "ref:start,end") and the values are arrayrefs of Bio::Das::Type objects contained within those segments.

@types = $request->results

In a list context, results() returns an array of Bio::Das::Type objects.

AUTHOR ^

Lincoln Stein <lstein@cshl.org>.

Copyright (c) 2003 Cold Spring Harbor Laboratory

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.

SEE ALSO ^

Bio::Das::Request::Features, Bio::Das::Request, Bio::Das::HTTP::Fetch, Bio::Das::Segment, Bio::Das::Type, Bio::Das::Stylesheet, Bio::Das::Source, Bio::RangeI

syntax highlighting: