Almost nothing in Perl serves a single purpose.
About this quote
- What does it mean?
- Perl’s modules tend to be multi‑purpose rather than single‑purpose.
- In plain terms
- Perl tools usually do many things.
- What can you take from it?
- Expect Perl code to be flexible.
Where it applies
Putting it to work
Questions to consider
- How does this affect code readability?
Another view
Multi‑purpose design can lead to complexity.
More from Larry Wall
Are you perchance running on a 64-bit machine?
Permalink to quote #173 There's some entertainment value in watching people juggle nitroglycerin.
Permalink to quote #175 If this were Ada, I suppose we'd just constant fold 1/0 into die 'Illegal division by zero
Permalink to quote #172
Related quotes
Of course, I reserve the right to make wholly stupid changes to Perl if I think they improve the language. :-)
Larry WallLarry Wall quote #76 Perl will always provide the null.
Larry WallLarry Wall quote #179 If you try to solve a hard problem, the question is not whether you will use a powerful enough language, but whether you will (a) use a powerful language, (b) …
Paul GrahamPaul Graham quote #5