in reply to Re: Re: Uninitialized value ?
in thread Uninitialized value ?
It will now both check if $secretword has some value (possible empty) and if it is empty.if (!defined $secretword or $secretword eq '') {
or if you like the unless operator:if (!$secretword) {
unless ($secretword) {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Uninitialized value ?
by busunsl (Vicar) on Aug 20, 2001 at 17:57 UTC | |
|
Re: Re: Re: Re: Uninitialized value ?
by All0uette (Acolyte) on Aug 21, 2001 at 19:54 UTC | |
by Cine (Friar) on Aug 21, 2001 at 21:01 UTC |