Help for this page

Select Code to Download


  1. or download this
    use v5.12;
    
    ...
    
    say /$regexp/ ? "ok" : "not ok" for @should_match;
    say /$regexp/ ? "not ok" : "ok" for @should_not_match;