I would use split() (with LIMIT) for this:
my ( $first, $rest ) = split m{\.}, $line, 2;
In reply to Re: Removing first part of string with regex
by linuxer
in thread Removing first part of string with regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |