Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have two files which differ in only one number and one digit,I am trying to find a condition that matches these two files.How can I do that? </p?
File1:M8BBABONPGM100.dat File2:M8BBABONPYM101.dat if ($file =~ /M8BBABONP\aM\d/) { }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Matching condition for two files
by Nikhil Jain (Monk) on May 02, 2011 at 07:34 UTC | |
by CountZero (Bishop) on May 02, 2011 at 09:57 UTC | |
by Khen1950fx (Canon) on May 02, 2011 at 16:28 UTC | |
by AnomalousMonk (Archbishop) on May 02, 2011 at 12:52 UTC | |
by Anonymous Monk on May 02, 2011 at 07:36 UTC | |
by Nikhil Jain (Monk) on May 02, 2011 at 07:43 UTC | |
by Anonymous Monk on May 02, 2011 at 07:46 UTC | |
|
Re: Matching condition for two files
by Ratazong (Monsignor) on May 02, 2011 at 07:39 UTC | |
|
Re: Matching condition for two files
by JavaFan (Canon) on May 02, 2011 at 10:42 UTC |