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

Re: Re: When Is Dividing Code Into Different Subroutines/Packages Important?

by yosefm (Friar)
on Jun 16, 2003 at 19:00 UTC ( [id://266257]=note: print w/replies, xml ) Need Help??


in reply to Re: When Is Dividing Code Into Different Subroutines/Packages Important?
in thread When Is Dividing Code Into Different Subroutines/Packages Important?

Let's go even further: Never hard-code anything, except when it's:
  • A constant at the top of you'r script, so it's easy to find
  • or, better yet, in a different file shared by all scripts in your app, if you have more than one.
  • Comment on Re: Re: When Is Dividing Code Into Different Subroutines/Packages Important?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found