In general if you get any message from Perl that you do not understand, you should try "perldoc perldiag" and search for that message.Use of reserved word """"%s"""" is deprecated (D) The indicated bareword is a reserved word. Future versions of perl may use it as a keyword, so you're better off either explicitly quoting the word in a manner appropriate for its context of use, or using a different name altogether. The warning can be suppressed for subroutine names by either adding a & prefix, or using a package qualifier, e.g. &our(), or Foo::our().
Compare with the related message:
Which is, of course, what you get when the keyword is deprecated.Use of %s is deprecated (D) The construct indicated is no longer recommended for use, generally because there's a better way to do it, and also because the old way has bad side effects.
So your believing that our was deprecated because someone got that message simply means that you (and they) did not understand the message, and didn't know how to RTFM. Now you do. :-)
In reply to RE (3): Should I use $ and $# ?
by tilly
in thread Should I use $ and $# ?
by Guildenstern
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |