Just another Perl shrine | |
PerlMonks |
Re: Extract the middle part of a listby Zaxo (Archbishop) |
on Jun 29, 2007 at 02:12 UTC ( [id://624017]=note: print w/replies, xml ) | Need Help?? |
You want grep, with some data extraction in the choice routine. Not having to sort helps, since we don't need to keep values for comparison. If there are files there which don't follow the naming scheme, you may need to filter them out with another grep or with map, or a refinement of the glob in angles. After Compline,
In Section
Seekers of Perl Wisdom
|
|