Welcome to the Monastery | |
PerlMonks |
Re^7: Read CSV with column mappingby poj (Abbot) |
on Dec 16, 2018 at 18:17 UTC ( [id://1227322]=note: print w/replies, xml ) | Need Help?? |
You could just check if the key is blank
Note $item =~ /^\s+$/ matches 1 or more white space only (but not nothing). Try $item =~ /^\s*$/ in your code. poj
In Section
Seekers of Perl Wisdom
|
|