in reply to Checking string emptiness
if ( length $string ) {
I believe that length is more efficient than using a string comparison.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Checking string emptiness
by sleet (Monk) on Apr 04, 2025 at 22:23 UTC | |
by ikegami (Patriarch) on Apr 05, 2025 at 00:01 UTC |