in reply to Re^2: Do not understand codein thread Do not understand code
Note that you reversed the operator. It’s not ~=, it’s =~.