in reply to Pattern matching with variable number

Use m/\d{8}/, matching 8 digits in sequence.
Cheers,
CombatSquirrel.
Entropy is the tendency of everything going to hell.