So more or like like this:?
DDumper csv ( in => *DATA, sep => "|", filter => sub { $_[1][0] =~ m/^\s*#/ && @{$_[1]} == 1 ? 0 : 1; }, );
Which would not even need a ternary if slightly rewritten
In reply to Re^9: Perl custom sort for Portuguese Lanaguage
by Tux
in thread Perl custom sort for Portuguese Lanaguage
by Galdor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |