or@values = grep{defined} @values; @values = grep{$_ ne ''} @values;
Again, I would not use this method. It's not good to remove blank string values. As for the equal footing, would this be any less equal: /(?:\,)|(\".*?\")/@values = grep{defined && $_ ne ''} @values;
In reply to Re^3: Splitting a line on just commas
by deMize
in thread Splitting a line on just commas
by gibsonca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |