in reply to How to remove the words before the dot using perl?

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:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^2: How to remove the words before the dot using perl?
by finddata (Sexton) on Mar 16, 2017 at 05:05 UTC
    Is it possible to do the same process without storing it in array.

      Please see this.


      Give a man a fish:  <%-{-{-{-<