Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: float: Perl is replacing dot with comma (automagic locale?)by InfiniteSilence (Curate) |
on May 15, 2014 at 14:52 UTC ( [id://1086158]=note: print w/replies, xml ) | Need Help?? |
When you run the code you wrote through the debugger you will notice that it executes the our ... statement after the subroutine has run. Some simple repositioning of code as this,
Makes this output:
Note that I took the liberty of adding a VERSION in each different package which I think is what you meant to do. Celebrate Intellectual Diversity
In Section
Seekers of Perl Wisdom
|
|