more useful options | |
PerlMonks |
Re^3: Collapsing a list of files...by graff (Chancellor) |
on Sep 17, 2009 at 03:53 UTC ( [id://795761]=note: print w/replies, xml ) | Need Help?? |
Hopefully this helps!
Not entirely, perhaps... ... a suffix of n digits. Now that I think about it, you can ignore the suffix altogether and just replace the n digits with *. Well, I'm assuming there must be some other constraint (which you haven't described yet) that would make this an inadequate solution: If you're trying to do something else besides ignoring the final digits -- if there's supposed to be some actual structure to the file names and you need to do something with that besides adding "*" at the end -- let us in on it. From what you've described so far, it's either too simple or too vague.
In Section
Seekers of Perl Wisdom
|
|