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

Re: subroutine good practise

by eyepopslikeamosquito (Chancellor)
on Oct 29, 2012 at 19:10 UTC ( #1001406=note: print w/replies, xml ) Need Help??


in reply to subroutine good practise

Because use statements are performed at compile time (while require statements are performed at run time), I find it clearer to put all use statements together at the top of the file.

This was discussed in: Code style advice: where to put "use" statements?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001406]
help
Chatterbox?
and the daffodils sway...

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













    Results (278 votes). Check out past polls.

    Notices?