in reply to How to handle modules across different versions
Hi ksublondie,
It's possible to have a single common.pm and then inside it test for different versions of Perl, e.g. with $^V or $]. If you need to load different modules in different versions of Perl it can get a little more tricky, but see this thread for some potential solutions: The "right" way to make your script run with old versions of perl
What are the actual differences you've got in common.pm across your different versions?
Regards,
-- Hauke D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to handle modules across different versions
by ksublondie (Friar) on Jul 20, 2016 at 15:13 UTC | |
by haukex (Archbishop) on Jul 20, 2016 at 17:21 UTC | |
by cursion (Pilgrim) on Jul 20, 2016 at 21:29 UTC | |
by $h4X4_|=73}{ (Monk) on Jul 21, 2016 at 11:07 UTC |