use Quantum::Superpositions; if ( $ref == any(1..8) ) {