Bareword found where operator expected at derp.pl line 7, near "// to" (Missing operator before to?) "my" variable $str2 masks earlier declaration in same scope at derp.pl line 8. "my" variable $str1 masks earlier declaration in same statement at derp.pl line 9. "my" variable $str2 masks earlier declaration in same statement at derp.pl line 9. syntax error at derp.pl line 7, near "// to auto" Execution of derp.pl aborted due to compilation errors.