in reply to Re: Doing "it" only once
in thread Doing "it" only once

The shorter cut is the match only once operator that is built-in to Perl.

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^3: Doing "it" only once
by ambrus (Abbot) on Sep 21, 2005 at 19:33 UTC

    Sure, but that works only for a regexp, not for any condition.