Bio-GeneDesign
view release on metacpan or search on metacpan
lib/Bio/GeneDesign/RestrictionEnzymes.pm view on Meta::CPAN
=head2 _parse_enzyme_list
=cut
sub _parse_enzyme_list
{
my ($path) = @_;
open (my $REFILE, '<', $path) || croak ("Can't read $path!\n");
my $ref = do { local $/ = <$REFILE> };
close $REFILE;
my @list = split m{\s}x, $ref;
return \@list;
}
1;
__END__
=head1 COPYRIGHT AND LICENSE
Copyright (c) 2015, Sarah Richardson
( run in 1.202 second using v1.01-cache-2.11-cpan-483215c6ad5 )