Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Introducing Class::InsideOut

by jdhedden (Deacon)
on Jan 10, 2006 at 01:21 UTC ( [id://522073]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Introducing Class::InsideOut
in thread Introducing Class::InsideOut

It's not a mistake. It's a preference. All three styles (package declaration outside the block, package declaration inside the block, and no block at all with file scope) work, and all have their own little pros and cons (none of which rise to the significance of such 'mistakes' as coding errors, syntax abuses or obfuscations).

Unfortunately, such relative trivialities sometimes get overly exaggerated (even to the point of becoming flame wars); thereby distracting everyone from important topics such as xdg's excellent contribution to the Perl community which he has announced in this thread.


Remember: There's always one more bug.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://522073]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-18 02:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found