[AT&T Samsung Galaxy Note I717] jon1234444:
excuse my complete lack of perl knowledge, but I am getting a bunch of errors trying to run this script:

Bareword found where operator expected at backup.pl line 9, near ")
os"
(Missing operator before os?)
Bareword found where operator expected at backup.pl line 10, near ")
os"
(Missing operator before os?)
Bareword found where operator expected at backup.pl line 11, near ")
f"
(Missing operator before f?)
Bareword found where operator expected at backup.pl line 12, near ")
data"
(Missing operator before data?)
Bareword found where operator expected at backup.pl line 13, near ")
f"
(Missing operator before f?)
Bareword found where operator expected at backup.pl line 14, near ")
partitions"
(Missing operator before partitions?)
Bareword found where operator expected at backup.pl line 15, near "n"
(Missing semicolon on previous line?)
Operator or semicolon missing before *n at backup.pl line 17.
Ambiguous use of * resolved as operator * at backup.pl line 17.
Bareword found where operator expected at backup.pl line 18, near "partition"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 19, near ")
partition"
(Missing operator before partition?)
Bareword found where operator expected at backup.pl line 20, near "n"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 21, near "partition"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 25, near "break"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 32, near "os"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 33, near "n"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 34, near "os"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 35, near "os"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 36, near "os"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 37, near "f"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 38, near "data"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 39, near "f"
(Missing semicolon on previous line?)
Operator or semicolon missing before *a at backup.pl line 41.
Ambiguous use of * resolved as operator * at backup.pl line 41.
Bareword found where operator expected at backup.pl line 42, near "partition"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 48, near "partition"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 49, near "partition"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 50, near "partitions"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 51, near "a"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 56, near "ebr"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 57, near "os"
(Missing semicolon on previous line?)
Bareword found where operator expected at backup.pl line 58, near "os"
(Missing semicolon on previous line?)
syntax error at backup.pl line 6, near "):"
Execution of backup.pl aborted due to compilation errors.