Lexical Warnings Gripe

Ovid on 2007-03-29T10:22:33

So, let's see, you have:

  • no warnings 'deprecated';
  • no warnings 'closed';
  • no warnings 'unopened';
  • no warnings 'reserved';
  • no warnings 'uninitialized'; # I always misspell this

... and so on. However, you don't have:

  • no warnings 'redefined';

Why not? Because it's "redefine" (not past tense). This is a constant speed bump in my writing tests. I always stop to remember which it is and then I misremember that it probably is past tense. Maybe by writing about this I'll remember.

What was I talking about?


Aliases

rafael on 2007-03-29T11:29:00

Looking at warnings.pm, it should be straightforward to add aliases. Although code written using the aliases would complain loudly on older perls....