in reply to Use of uninitialized value in string eq
assigns one value to @temp, so you'll have a problem if $position is anything other than 0.my @temp = $info{$humangi};
By the way, the following very suspicious:
my ($source, $position, $sink) = split(/(\d+)(\w)/, $Variant);
Specifically, /(\d+)(\w)/ doesn't look like it would match a separator. It should probably be
my ($source, $position, $sink) = $Variant =~ /(.*?)(\d+)(\w)/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use of uninitialized value in string eq
by sophix (Sexton) on Apr 21, 2010 at 21:31 UTC | |
by johngg (Canon) on Apr 21, 2010 at 22:42 UTC | |
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 |