in reply to checking substring for numbers

From perlsub:

Unlike dynamic variables created by the local operator, lexical variables declared with my are totally hidden from the outside world

BCE
--Your punctuation skills are insufficient!