in reply to Re: Use of uninitialized value in string eq
in thread Use of uninitialized value in string eq
You are trying to compare with an uninitialized string... Do all those if it is defined. if (defined $moh) { ..... }
That is just treating the symptoms rather than the root cause of the problem. Much simpler and safer, surely, to initialise,
my $moh = q{};
before use.
Cheers,
JohnGG
|
|---|