mohanish has asked for the wisdom of the Perl Monks concerning the following question:
This is the error :my ($moh) if(<something>) { $moh="mohanish"; } if(<something-else>) { if($moh eq "mohanish") { <--- i am getting error in this line } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Use of uninitialized value in string eq
by ccn (Vicar) on Oct 23, 2008 at 06:14 UTC | |
by hsinclai (Deacon) on Oct 23, 2008 at 07:45 UTC | |
by ccn (Vicar) on Oct 23, 2008 at 07:59 UTC | |
|
Re: Use of uninitialized value in string eq
by lamp (Chaplain) on Oct 23, 2008 at 06:20 UTC | |
by ikegami (Patriarch) on Oct 23, 2008 at 06:47 UTC | |
|
Re: Use of uninitialized value in string eq
by brsaravan (Scribe) on Oct 23, 2008 at 06:52 UTC | |
by johngg (Canon) on Oct 23, 2008 at 10:32 UTC |