in reply to Use of uninitialized value in concatenation (.) or string
Enable the warnings and strict pragmas and perl will tell you (that the array @step is not declared.)