in reply to Re: Use of uninitialized value in string eq
in thread Use of uninitialized value in string eq
I do not see why there would be a problem with the assignment of one value to @temp. My intention was to put the protein sequence (of human gi) into an array and then to point a position in this sequence. I thought I would bump into the problem you mentioned in case I would have used $temp, and actually that's why I used an array there. I would be glad if you can tell me what might be the problem.
Suspicious, indeed. Yet it is working properly. I first used (\w)(\d+)(\w) and then modified it as to have the current one following the errors I got. I guess it first makes a split as P and 82L and then makes a second split by separating 82 and L. Your alternative looks more appropriate to use though.
Any idea concerning the use of 'eq' operator?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Use of uninitialized value in string eq
by johngg (Canon) on Apr 21, 2010 at 22:42 UTC | |
|
Re^3: Use of uninitialized value in string eq
by ikegami (Patriarch) on Apr 21, 2010 at 22:33 UTC | |
by sophix (Sexton) on Apr 22, 2010 at 02:06 UTC | |
by chromatic (Archbishop) on Apr 22, 2010 at 07:40 UTC | |
by sophix (Sexton) on Apr 22, 2010 at 23:41 UTC | |
by ikegami (Patriarch) on Apr 22, 2010 at 17:06 UTC |