Help for this page

Select Code to Download


  1. or download this
    use Test::More;
    
    ...
        return;                               # Unreachable.
      }
    }
    
  2. or download this
    sub match {
      local $_ = shift;
    ...
      ||  m/  ^[^()]*()$    /x;   # No parens (no capture).
      return $1 // ();
    }
    
  3. or download this
    sub match {
      shift =~ m/
    ...
      /x;
      return $+{C} // ();
    }
    
  4. or download this
    sub match {
      shift =~ m/
    ...
      /x;
      return $^N // ();
    }
    
  5. or download this
    sub match {
      shift =~ m/
    ...
      /x;
      return $1 // ();
    }
    
  6. or download this
    sub match {
      shift =~ m/
    ...
      /x;
      return $1 // ();
    }