>>> Please followup-to the list only!

Terrence Brannon <[email protected]> writes:

> How about
>       if ( qr/$regexp/ )

qr// returns a pre-compiled regexp, it doesn't perform a match.

  my $pat = qr/.../;
  if ( $string =~ $pat ) { ... }

-- Johan

Reply via email to