in reply to Re: Use of uninitialized value error
in thread Use of uninitialized value error

Replies are listed 'Best First'.
Re^3: Use of uninitialized value error
by ikegami (Patriarch) on Jul 04, 2011 at 20:36 UTC

    And what are you proposing to do as a solution?

    You haven't said enough for us to identify the problem, much less give a solution.

    I'm guessing the problem is either a bad assumption about the format of the file or an incorrect parsing of the file.

      To tell you the truth i haven't understand too much about what are you writing in the previous message.i am begginer in perl programming...
        You're being told you're using undef where it makes no sense to do so. So why are you using undef there? I explained how undef got there to help you find the error you made.
        It's simple English that requires no knowledge of Perl whatsoever. Sorry that I can't help you.
Re^3: Use of uninitialized value error
by birdy (Initiate) on Jul 04, 2011 at 20:35 UTC

    I forget to write it down but i do

    my $FastaSeqOfDataBase = "";

    in some lines before i call it.

      A very quick method of finding out issues can be introducing temporary 'print' statements in the code. So you could print the value of $FastaSeqOfDataBase after it is assigned a value in the code snippet you pasted. Then see if the value is still undef.

      The log message you've pasted suggests that your code is over 500 lines long, so I guess to one extent it might be difficult for you to put a lot of other background information here.