- or download this
@list = $string =~ /(regex1)(regex2)/;
- or download this
( $match1, $match2 ) = $string =~ /(regex1)(regex2)/;
- or download this
if ( $string =~ /(regex1)/ ){
$found = $1;
}
- or download this
if(@ARGV && $ARGV[0] =~ /'^-') {
- or download this
if(@ARGV && $ARGV[0] =~ m'^-') {