Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: code review

by Madams (Monk)
on Jul 12, 2004 at 00:06 UTC ( #373527=note: print w/ replies, xml ) Need Help??

in reply to Re: code review
in thread code review

In Re your quibble on:

sub options { use Getopt::Long; . . .

I've noticed that "use"age in several actual O'Reilly books written by various "Big Name" perl gurus. It seems to me that they do that when the only reason for the "use ...;" is completely within the subroutine. Personally I find that to be kinda self documenting. Plus it really doesn't matter where you place a "BEGIN{}" or "use ...;" as they all get done at compile time in the order they occur in the code.

However I generally place all "use"ages at the top of the script myself.


Comment on Re^2: code review
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2016-05-31 14:58 GMT
Find Nodes?
    Voting Booth?