Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Conditionally executing different code based on Perl Versionby JavaFan (Canon) |
on Feb 22, 2012 at 08:42 UTC ( [id://955475]=note: print w/replies, xml ) | Need Help?? |
Note that none of your suggestions actually works for the OP. He cannot use use re '/d'; in code that's compiled under 5.12 or earlier, and since its effect is scope based, putting it inside an eval isn't going to help either, as an eval creates its own scope.
What may work is: but I have not tested this.
In Section
Seekers of Perl Wisdom
|
|