Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        );
    
    print /\.([^.]+)$/ ? "Matched '$1' in " : "Failed", " '$_'\n" for @tes
    +ts;
    
  2. or download this
    Failed '.'
    Failed ''
    ...
    Matched 'gitignore' in  '.gitignore'
    Matched 'doc' in  'word.doc'
    Matched 'name' in  'a.dotted.name'