in reply to Re: Code should be version-aware
in thread Code should be version-aware

...there should be some (even "fake") warnings.pm module for perl 5.005 (or even older versions)..

This was extensively discussed at the p5p BOF at the YAPC::Europe in Paris. It was decided however, to not take any action at this point. The reason for this is that all the repercussions with regards to CPAN are not clear yet. You don't want the fake warnings.pm replace your "real" one when you're installing a module from CPAN, or have your perl upgraded to 5.8.1 when installing the fake warnings.pm, etc. etc.. CPAN (particularly the indexer) needs to become more flexible. This work is currently underway.

In the mean time, I put this warnings for modules < 5.6 in Snippets.

Liz