|There's more than one way to do things|
What is the point of this coding style?by morgon (Curate)
|on Nov 20, 2013 at 05:36 UTC||Need Help??|
morgon has asked for the
wisdom of the Perl Monks concerning the following question:
I have seen in many places a coding convention that looks like this:
I assume that the author wants to have the version number in a prominent place and so is willing to put one line to trivial code outside of strict but what is the point of putting the assignment to a package variable into an extra block?
Why not simply
Is that just personal taste or is there something to it that I miss?
I just wonder...