Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Basic Coding Tips: Parsimonious Parameterization

by Aristotle (Chancellor)
on Jan 28, 2005 at 23:39 UTC ( #426158=note: print w/replies, xml ) Need Help??


in reply to Basic Coding Tips: Parsimonious Parameterization

Agreed. This is a variation on what's known as the “Once And Only Once” or “Don't Repeat Yourself” principle.

Makeshifts last the longest.

  • Comment on Re: Basic Coding Tips: Parsimonious Parameterization

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://426158]
help
Chatterbox?
[choroba]: ovedpo15 Hard to tell without context. You probalby used $dir outside of its scope, which is the body of the "unless".
[choroba]: if you use unless as a statement modifier, you can't use the variable declared in the modifier in the statement.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2018-04-22 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?