Skip to content

uninitialized variables... #25

Description

@martin-raden

Hi @PatrickRWright

the script blast2homfile.pl shows two uninitialized variables (skip_sort and evalcorr) in if statements

if (! $skip_sort) {

as far as I get it, perl variables are initialized "undefined", which is considered FALSE.
thus the current script will

  • always run the sorting (!$skip_sort)
  • and ignore the eval correction ($evalcorr)

is the following (default) initialization correct:

$skip_sort=0 # ie. FALSE
$evalcorr=0 # ie. FALSE

which I would like to add to the top of the script..

Thanks for feedback,
Martin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions