in reply to Writing for backwards compatibility
The following list is a (small) list of things that I know that work on 5.8 but not on 5.6.
To answer some of your other questions:
My default perl is 5.6.1. (I have others versions installed aswell). So when I write code it is (and I want it to be) backwards compatible with 5.6.1. And I will always do that. Even if I know for sure that it will be used only on 5.8.
Letting go of features... I guess most of the new features of 5.8. I definitely won't let go of the 3-args open or my.
The biggest thing that annoys me is a module that requires a specific version of Perl... Yes there might be a reason for it but atleast mention it somewhere in the POD... Someone might know an easy workaround... (Or a hard workaround if they really want to use it on an earlier version)
|
---|