--- name: reset status: documented runtime: pp source: src/runtime/pp/tie.rs --- ```{index} single: reset; Perl built-in (pp runtime) ``` # reset ## Synopsis ```perl reset; # reset all ?? in current package reset 'a-z'; # reset ?? in variables matching range ``` ## Description Resets `??` (one-shot match) operators so they can match again. The `??` operator matches only once between calls to `reset`. Without an argument, resets all one-shot matches in the current package. With a character-range argument, resets only those in variables whose names fall within the range. This is a deprecated and rarely used feature. Returns 1. **Implementation status:** Stub (no-op). PetaPerl does not currently track `??` match state. ## See also m//g, pos