Hi monks, I tried the suggested code and got an Error stating "Use of uninitialized value $_ in substitution s/// at..." Seems only the default $_ yields no errors, if any other user-defined variable (eg. $testvar) is used, the error shows up. Can anyone tell me why this is? Thanks.