I'm running PERL under the MACOSX. The line
$text=~s/george/tim/; causes a global substituion of "george" with "tim" How can I limit the substituion to the first instance only? Thanks! -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/