Semicolon seems to be missing at prog.pl line 7.
Semicolon seems to be missing at prog.pl line 8.
Semicolon seems to be missing at prog.pl line 9.
Bareword found where operator expected at prog.pl line 26, near "[ -f"
(Might be a runaway multi-line -- string starting on line 14)
(Missing operator before f?)
Can't modify constant item in scalar assignment at prog.pl line 5, near ""/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/usr/sbin:/sbin";"
syntax error at prog.pl line 8, near "tmp"
"no" not allowed in expression at prog.pl line 14, at end of line
Unmatched right square bracket at prog.pl line 26, at end of line
Execution of prog.pl aborted due to compilation errors.