in reply to Embed empty value using qw()
What about something like:
my @array = map { $_ eq 'NULL' ? '' : $_ } qw(one two NULL four five);
It could be worth it when you have lots of NULLs
-- TMTOWTDI
Update: I didn't notice that cLive ;-) wanted an empty string and not an undef
|
|---|