For details, see the description of @- in perlvar.if ( /(foo)|(bar)|(baz)/ ) { print "$#-\n"; }
In reply to Re: Finding out which of a list of patterns matched
by nobull
in thread Finding out which of a list of patterns matched
by lemnisca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |