Bio-PrimerDesigner
view release on metacpan or search on metacpan
lib/Bio/PrimerDesigner.pm view on Meta::CPAN
=head2 os_is_unix
Returns 1 if it looks like the operating system is a Unix variant,
otherwise returns 0.
=cut
my $self = shift;
# technically, this should be 'os_is_not_windows'
unless ( defined $self->{'os_is_unix'} ) {
#$self->{'os_is_unix'} = ( $^O =~ /(n[iu]x|darwin)/ ) ? 1 : 0;
$self->{'os_is_unix'} = ( $^O !~ /^MSWin/i ) ? 1 : 0;
}
return $self->{'os_is_unix'};
}
# -------------------------------------------------------------------
sub primer3_example {
( run in 0.796 second using v1.01-cache-2.11-cpan-0a987023a57 )