Syntactic Confectionery Delight | |
PerlMonks |
Pattern Matching in Arraysby aj.kohler (Initiate) |
on May 11, 2009 at 16:06 UTC ( [id://763281]=perlquestion: print w/replies, xml ) | Need Help?? |
aj.kohler has asked for the wisdom of the Perl Monks concerning the following question: I am reading in a directory of filenames: 12345_-v1.pdf I need to pattern match the root filename(12345), and display the latest version of file(-v1,Av1,B1):
How can I accomplish this? I am not too experienced in RE's at this time.
updated format
Back to
Seekers of Perl Wisdom
|
|