in reply to Re^4: Trying to make perl suck less again
in thread Trying to make perl suck less again
If somebody wants to use the new 5.10.0 and remain backwards-compatible, then probably it's best to have the code in two files and have a:
Which means duplication of code. I think this is only useful if the new features have significant advantages like better performance.if ($] >= 5.010) { require "new_style.pm"; } else { require "old_style.pm"; }
|
|---|