Bio-Taxonomy-GlobalNames
view release on metacpan or search on metacpan
Revision history for Bio-Taxonomy-GlobalNames
0.07 2014-12-23 00:30
- Fixed a failing unicode test and one caused by an old version of Moo.
0.06 2014-03-28 17:40
- Fixed a pod bug where a private subroutine was marked as naked.
0.05 2014-03-28 14:54
- The module now checks if the GNR website is up.
0.04 2014-01-30 10:11
- Switched from Moo to Moo::Lax to avoid issues from FATAL warnings.
Makefile.PL
MANIFEST This list of files
README
t/00-load.t
t/manifest.t
t/pod-coverage.t
t/pod.t
t/data-input.t
t/empty-input.txt
t/input-quotes.txt
t/unicode-input.txt
examples/names.dat
examples/resolve_names.pl
examples/scientific_names.csv
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
t/data-input.t view on Meta::CPAN
{
my $path = q{};
# Set the path to the test script's directory.
if ( $0 =~ /data-input[.]t$/ )
{
$path = $`;
}
my $query =
Bio::Taxonomy::GlobalNames->new( file => $path . 'unicode-input.txt', );
my $output = $query->post();
my @data = @{ $output->data };
is( $data[0]->supplied_name_string,
'ã¨ã©ãã¦ããã',
'Send a POST request with data from a Unicode file.' );
}
# Make sure that input files with single or double quotes are read correctly.
{
( run in 0.328 second using v1.01-cache-2.11-cpan-88abd93f124 )