Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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.


(madams55075.spamtrap.@comcast.net)=~s/\.spamtrap\.//;


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2014-12-29 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls