This leaves $word eq 'Here:\: => M:\p_sold-cr_q00457655_EFLT' and sets $firstword eq 'Here';($firstword) = $word =~ /^(.*?):/;
In reply to Re: matching in a line (without destruction)
by BigLug
in thread matching in a line
by splitOnce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |