in reply to what does "\e[...." mean?
It's an escape code that may change the colour of the output text (depending on the terminal which the program is running in).
Voodoo really; use Term::ANSIColor instead.