in reply to Difference between old and new
Get out of the habit of evaluating your code in the manner shown.
If you must, write a script that does what you want and run it against different Perl versions. I prefer to use Test::More and run that periodically to catch errors that will appear over time as dependencies change. I hear h2xs is deprecated but I will use it for instructional purposes here:
cd /tmp h2xs -AXn junk cd ./junk cd t cat junk.t
Above produces boilerplate test code you can produce literally in seconds.
use strict; use warnings; use Test::More tests => 2; BEGIN { use_ok('DMCombo2');}; ...
Change things for your environment. Six months down the road you will be thanking yourself for investing the time to learn this stuff.
Celebrate Intellectual Diversity
|
|---|