I am trying to work through all the warnings in a Perl program, and having some trouble with this one.
Unquoted string "lib" may clash with future reserved word at /home/user/bin/ttt.v01.pl line 17.
line 17: use lib ( "${HOME}/.lib" );
Unquoted string "sync" may clash with future reserved word at /home/user/bin/ttt.v01.pl line 23.
line 23: our $SYNC_HOSTS = "${HOME}/.sync.hosts";
Unquoted string "config" may clash with future reserved word at /home/user/bin/ttt.v01.pl line 28.
line 28: our $USAGE_TEXT = "[-hd] -a <config> -l <location>";
From perldiag:
Unquoted string "%s" may clash with future reserved word
(W reserved) You used a bareword that might someday be claimed as a reserved word. It’s best to put such a word in quotes, or capitalize it somehow, or insert an underbar into it. You might also declare it as a subroutine.
I have these all double quoted, and so I’m not sure what I’m missing.
Hmm, maybe you have an unmatched double quote before line 17, which cause the compiler to report wrong warnings?