in reply to Re^2: Selecting a Specific Keys in Relation to a List
in thread Selecting a Specific Keys in Relation to a List
And, the matching in the regex is easily fixed by using /^$k$/ instead, which would allow the possible exceptions like ytd_total, etc.
Hadn't thought about List::MoreUtils, either.
---
echo S 1 [ Y V U | perl -ane 'print reverse map { $_ = chr(ord($_)-1) } @F;'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Selecting a Specific Keys in Relation to a List
by TGI (Parson) on Nov 02, 2007 at 18:33 UTC |