blob: b7010e26e248b44d6c7e31a04c3cb2198b94f9dc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
ok(1 ~~ 1);
{
use smartmatch sub { 0 };
ok(!(1 ~~ 1));
}
ok(1 ~~ 1);
{
use smartmatch 'core';
ok(1 ~~ 1);
}
done_testing;
|