in reply to RE: not able to make defined-or operator work in my code
I guess it might have to do with the keys and values of %ENV being stringified, so perhaps that's why you're not seeing undef. A different criteria you could use might be $value = 'empty value' unless length $value;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: not able to make defined-or operator work in my code
by Anonymous Monk on Feb 11, 2015 at 01:27 UTC | |
by Anonymous Monk on Feb 11, 2015 at 01:33 UTC | |
by lonewolf28 (Beadle) on Feb 11, 2015 at 01:43 UTC | |
by Anonymous Monk on Feb 11, 2015 at 01:52 UTC |