Or with a substitution (and without a module):
c:\@Work\Perl\monks>perl -wMstrict -le "my @files = qw(blah.config boo.config big.config); print qq{@files}; ;; s{ \A [^.]* }{}xms for @files; print qq{@files}; " blah.config boo.config big.config .config .config .config
Give a man a fish: <%-{-{-{-<
In reply to Re: How to remove the words before the dot using perl?
by AnomalousMonk
in thread How to remove the words before the dot using perl?
by finddata
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |