Author image Lincoln D. Stein
and 1 contributors


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


 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;


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.


Lincoln Stein <>.

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.


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