Jeff Pinyan writes: > my $regex = ref $re eq "Regexp" ? $re : qr/$re/; my $regex = qr/$re/; Nat ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe