Syntactic Confectionery Delight | |
PerlMonks |
Re: Check if one of the array elements is not emptyby markkawika (Monk) |
on Nov 11, 2009 at 01:12 UTC ( [id://806380]=note: print w/replies, xml ) | Need Help?? |
Well if you're defining "not an empty string" to mean "a string containing something other than whitespace", then this is the simplest way:
You can modify the regular expression to match whatever you want to match.
In Section
Seekers of Perl Wisdom
|
|