Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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 cooling their heels in the Monastery: (10)
As of 2015-07-29 03:04 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (260 votes), past polls