Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Code style advice: where to put "use" statements?

by apl (Monsignor)
on Feb 27, 2008 at 05:49 UTC ( #670496=note: print w/replies, xml ) Need Help??


in reply to Code style advice: where to put "use" statements?

The original implementor may have been thinking about moving some_function to a module. In any event, I'd move the statement to the top of the source as

use SomeModule;  # employed solely by sub some_function as of YY/MM/DD

YMMV.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://670496]
help
Chatterbox?
[erix]: (just caught that)
[Discipulus]: it's something like soul's house, no? Alma is something Discipulus understand
[Discipulus]: Thou art good erix?
[erix]: I thaught it was a poor's workhouse (~19th C) - lemme look it up...
Discipulus has decided to use old english because of 'thou'..
[erix]: hm, apparently almshouses are still around
[Discipulus]: yes poor's workhouse, what they had more than their souls and some bone?
[LanX]: erix alms = Almosen
[erix]: yeah, Aalmoes (Niederlaendisch)
[erix]: italian alma may be unrelated

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2017-11-23 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (338 votes). Check out past polls.

    Notices?