This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
First class regexps.
[perl5.git] / t / op / qr.t
CommitLineData
9bc340e7
AB
1#!./perl -w
2
3BEGIN {
4 chdir 't' if -d 't';
5 @INC = '../lib';
6 require './test.pl';
7}
8
5c35adbb 9plan tests => 1;
9bc340e7
AB
10
11my $rx = qr//;
12
13is(ref $rx, "Regexp", "qr// blessed into `Regexp' by default");