null: substr outside of string at (eval 234) line 1. null: Use of uninitialized value in pattern match (m//) at (eval 234) line 1.