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


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 the Bio::Das::Request manpage specialized for the "types" command. All methods are the same as the Bio::Das::Request manpage 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 the Bio::Das::Type manpage objects contained within those segments.

@types = $request->results

In a list context, results() returns an array of the Bio::Das::Type manpage 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

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

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