in reply to Re: How to remove the words before the dot using perl?
in thread How to remove the words before the dot using perl?
Parts of the OP suggest that File::Basename may be preferable to custom coding.
The desired result may need some care in reading the module documentation> my $suffix = $file; # suggests a file name > ... > rev1.config # looks like a file name
with extra attention near the helpful line:perldoc File::Basename
fileparse("/foo/bar/baz.txt", qr/\.[^.]*/);
Ron
In Section
Seekers of Perl Wisdom