- or download this
$str = join "\n", map { $_->[0] }
sort {$a->[THIRD_FIELD] cmp $b->[THIRD_FIELD] }
map { [$_, split('\|', $_)] } split(/\n/, $str);
- or download this
split(/\n/, $str);
- or download this
map { [$_, split('\|', $_)] } split(/\n/, $str);
- or download this
( ["abc|123|cde", "abc", 123, "cde"], ["def|222|eee", "def", 222, "eee
+"])
- or download this
sort {$a->[THIRD_FIELD] cmp $b->[THIRD_FIELD] }
- or download this
sort {$a->[THIRD_FIELD cmp $b->[THIRD_FIELD] ||
$a->[FIRST_FIELD cmp $b->[FIRST_FIELD]}
- or download this
join "\n", map { $_->[0] }